The Sparta Modeling Framework
Loading...
Searching...
No Matches
DetectMemberUtils.hpp File Reference

Compile-time SFINAE techniques to detect presence of operators, member-fields and methods by name in any class. More...

#include <iostream>

Go to the source code of this file.

Classes

struct  sparta::utils::has_ostream_operator_impl::fallback
 A fallback struct which can create itself. More...
 
struct  sparta::utils::has_ostream_operator_impl::has_ostream_operator< T >
 
struct  sparta::utils::has_ostream_operator< T >
 

Namespaces

namespace  sparta
 Macros for handling exponential backoff.
 
namespace  sparta::utils::has_ostream_operator_impl
 We need to have the capability to detect the presence of.
 

Typedefs

typedef char sparta::utils::has_ostream_operator_impl::no
 Typedef a char array of size one.
 
typedef char sparta::utils::has_ostream_operator_impl::yes[2]
 Typedef a char array of size two.
 

Functions

no sparta::utils::has_ostream_operator_impl::operator<< (std::ostream const &, fallback const &)
 Declare a dummy << operator which operates on.
 
yessparta::utils::has_ostream_operator_impl::test (std::ostream &)
 If the class does have an << operator overloaded,.
 
nosparta::utils::has_ostream_operator_impl::test (no)
 If the class did not have an << operator overloaded.
 

Detailed Description

Compile-time SFINAE techniques to detect presence of operators, member-fields and methods by name in any class.

Definition in file DetectMemberUtils.hpp.