CUB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups
Public Types | List of all members
cub::PowerOfTwo< N > Struct Template Reference

Detailed description

template< int N>
struct cub::PowerOfTwo< N >

Statically determine if N is a power-of-two.

Public Types

enum  { VALUE = ((N & (N - 1)) == 0) }
 

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