WPILibC++  2019.3.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
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: