Speclib  0.1.2
The library for writing better CUDA libraries
Constexpr Datastructures

Dynamically-sized datastructures for use only during constexpr execution. More...

Classes

class  sp::c::Heap< VType, PointerInteger, PointerBits >
 A heap (in the dynamic memory sense) of memory for use in constexpr environments. More...
 
class  sp::c::IntMap< KeyType, ValueType, KeyBits >
 Like std::map, but for compile-time use. More...
 
class  sp::c::List< ValueType, Log2MaxSize >
 Like std::list, but for compile-time use. More...
 
class  sp::c::String< Char, Log2MaxSize >
 Like std::string, but for compile-time use. More...
 
class  sp::c::Vector< ValueType, Log2MaxSize >
 Like std::vector, but for compile-time use. More...
 

Detailed Description

Dynamically-sized datastructures for use only during constexpr execution.

These containers typically do not work (or work hideously inefficeintly) if used at runtime. However, they do allow you to write very powerful metaprograms using high-level structures like lists, maps, sets, etc.