Speclib  0.1.2
The library for writing better CUDA libraries
sp::c Namespace Reference

Classes (such as containers) that are specially adapted for use in C++17 constexpr. More...

Classes

class  BigIntSet
 An integer set that's optimized for large values. More...
 
class  Heap
 A heap (in the dynamic memory sense) of memory for use in constexpr environments. More...
 
class  IntMap
 Like std::map, but for compile-time use. More...
 
class  List
 Like std::list, but for compile-time use. More...
 
class  SmallIntSet
 An integer set that's optimized for small values. More...
 
class  String
 Like std::string, but for compile-time use. More...
 
class  Vector
 Like std::vector, but for compile-time use. More...
 

Detailed Description

Classes (such as containers) that are specially adapted for use in C++17 constexpr.

Note
All structures in this namespace cannot be used at runtime. They are useful for doing elaborate metaprogramming, but it is the responsibility of the programmer to make sure they are live only during template expansion.