Skip to content
/ typack Public

A compile-time API for working with type template parameter packs.

License

Notifications You must be signed in to change notification settings

gwllx/typack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Type Pack

A compile-time API for manipulation of C++ type template parameter packs.

Example

#include "typack/typack.hpp"
#include <tuple>
#include <type_traits>

int main() {
    using tuple = ty::pack<char, short, double>
            ::filter_t<std::is_integral>
            ::concat_t<int>
            ::into_t<std::tuple>; // std::tuple<char, short, int>
}

See API Overview or Class List for more information.

Releases

No releases published