constantly.hpp File Reference
#include <atria/estd/type_traits.hpp>
#include <atria/meta/utils.hpp>
#include <utility>

Go to the source code of this file.

Classes

struct  constantly_t< T >
 

Namespaces

 atria
 C++ amazing templates and reusable implementations awesomeness.
 
 atria::prelude
 Basic functional programming tools in the spirit of those in Clojure core and Haskell's Prelude.
 

Functions

template<typename T >
auto constantly (T &&value) -> constantly_t< estd::decay_t< T > >
 Similar to clojure.core/constantly. More...
 
Fork me on GitHub