Skip to content

ldionne/duck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

duck - concept-based overloading for C++11

duck is a template metaprogramming library providing primitives to check whether a type models a given concept. Basically, this is a reimplementation of Boost.ConceptCheck where concepts are metafunctions returning booleans instead of triggering compilation failure.

Requirements

A conformant C++11 compiler and standard library.

Getting started

duck is a header only library. Just add the include directory to your compiler's search path and you are good to go. All you need to do is

#include <duck.hpp>

Running the tests

To run the tests, you will also need to have CMake installed. If this is the case, you can go to the root of the project and do:

make gen-cmake --> Generates CMake files in the build/ directory.

make unit-tests --> Compiles the tests. All tests are compile-time only.

About

A template metaprogramming library for concept-based overloading in C++11.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages