state_traits.hpp File Reference
#include <atria/estd/type_traits.hpp>#include <atria/estd/utility.hpp>#include <atria/meta/utils.hpp>Go to the source code of this file.
Classes | |
| struct | state_traits< StateT > |
Interface for a type specializing the State concept. More... | |
Namespaces | |
| atria | |
| C++ amazing templates and reusable implementations awesomeness. | |
| atria::xform | |
| Efficient and flexible C++ implementation of transducers. | |
Typedefs | |
| template<typename T > | |
| using | state_traits_t = state_traits< estd::decay_t< T > > |
Functions | |
| template<typename T > | |
| auto | state_complete (T &&s) -> decltype(state_traits_t< T >::complete(std::forward< T >(s))) |
Convenience function for calling state_traits::complete More... | |
| template<typename T > | |
| auto | state_is_reduced (T &&s) -> bool |
Convenience function for calling state_traits::is_reduced More... | |
| template<typename T , typename D > | |
| auto | state_data (T &&s, D &&d) -> decltype(state_traits_t< T >::data(std::forward< T >(s), std::forward< D >(d))) |
Convenience function for calling state_traits::data More... | |
| template<typename T > | |
| auto | state_unwrap (T &&s) -> decltype(state_traits_t< T >::unwrap(std::forward< T >(s))) |
Convenience function for calling state_traits::unwrap More... | |
| template<typename T > | |
| auto | state_unwrap_all (T &&s) -> decltype(state_traits_t< T >::unwrap_all(std::forward< T >(s))) |
Convenience function for calling state_traits::unwrap_all More... | |
| template<typename T , typename U > | |
| auto | state_rewrap (T &&s, U &&x) -> decltype(state_traits_t< T >::rewrap(std::forward< T >(s), std::forward< U >(x))) |
Convenience function for calling state_traits::unwrap_all More... | |

1.8.10