traits.h File Reference

Traits for asserting object features. More...

#include <iterator>
#include <type_traits>
Include dependency graph for traits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fcpp::traits::is_additive< T, typename >
 
struct  fcpp::traits::is_additive< T, typename std::enable_if< true, decltype(std::declval< T & >()+std::declval< T & >(),(void) 0)>::type >
 
struct  fcpp::traits::is_equality_comparable< T, typename >
 
struct  fcpp::traits::is_equality_comparable< T, typename std::enable_if< true, decltype(std::declval< T & >()==std::declval< T & >(),(void) 0)>::type >
 
struct  fcpp::traits::is_less_than_comparable< T, typename >
 
struct  fcpp::traits::enable_if< true, decltype(std::declval< T & >()< std::declval< T & >(),(void) 0)>::type >
 

Detailed Description

Traits for asserting object features.

Author
Andrew Walsh (awals.nosp@m.h128.nosp@m.@gmai.nosp@m.l.co.nosp@m.m)
Version
0.1
Date
2021-09-03

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.