ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
T_SuppressStdOstreamOperator< T > Struct Template Reference

Description:

template<typename T>
struct alib::strings::compatibility::std::T_SuppressStdOstreamOperator< T >

This template type may be specialized to suppress ambiguities for types T which

  • have std::operator<<(ostream, const T&) defined, and
  • are appendable to ALib strings.
Note
The ambiguity occurs due to the definition of std::operator<< for all appendable types.

If a specialization of this template struct exists that inherits std::true_type, the compiler will not choose the ALib implementation of the operator, which resolves the ambiguity.

See also
Specialization might be done with macro ALIB_STRINGS_SUPPRESS_STD_OSTREAM_OPERATOR.
Template Parameters
TThe appendable type to suppress

Definition at line 46 of file std_strings_iostream.hpp.

#include <std_strings_iostream.hpp>

Inheritance diagram for T_SuppressStdOstreamOperator< T >:
[legend]
Collaboration diagram for T_SuppressStdOstreamOperator< T >:
[legend]

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