WPILibC++  2020.3.2-60-g3011ebe
wpi::RoundUpToPowerOfTwoH< N, isPowerTwo > Struct Template Reference

RoundUpToPowerOfTwoH - If N is not a power of two, increase it. More...

#include <SmallPtrSet.h>

Public Types

enum  { Val = N }
 

Detailed Description

template<unsigned N, bool isPowerTwo>
struct wpi::RoundUpToPowerOfTwoH< N, isPowerTwo >

RoundUpToPowerOfTwoH - If N is not a power of two, increase it.

This is a helper template used to implement RoundUpToPowerOfTwo.


The documentation for this struct was generated from the following file: