piranha  0.10
Static Public Attributes | List of all members
piranha::is_addable< T, U > Class Template Reference

Addable type trait. More...

#include <piranha/type_traits.hpp>

Static Public Attributes

static const bool value = implementation_defined
 Value of the type trait.
 

Detailed Description

template<typename T, typename U = T>
class piranha::is_addable< T, U >

Addable type trait.

This type trait will be true if objects of type T can be added to objects of type U using the binary addition operator, false otherwise. The operator will be tested in the form:

operator+(const T &, const U &)

Definition at line 233 of file type_traits.hpp.


The documentation for this class was generated from the following file: