WPILibC++ 2024.3.2
wpi::RoundUpToPowerOfTwoH< N, isPowerTwo > Struct Template Reference

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

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/llvm/include/wpi/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.

Member Enumeration Documentation

◆ anonymous enum

template<unsigned N, bool isPowerTwo>
anonymous enum
Enumerator
Val 

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