cipra::print_trait< T >(3)

NAME
cipra::print_trait< T > -

A type trait that users can specialize to tell how to stream an object to a std::ostream.

SYNOPSIS

#include <tests.hpp>

  Static Public Member Functions
static std::ostream & print (std::ostream &, const T &)
Pretty-prints an object to a std::ostream.

Detailed Description

  template<typename T>struct cipra::print_trait< T >
A type trait that users can specialize to tell how to stream an object to a std::ostream. Defaults to using operator<<.

Version:
    1.1

Author:
    Patrick M. Niedzielski

Date:
    2013-04-20

Since:
    1.1

Template Parameters:
    T The type to print.

Member Function Documentation

  template<typename T > static std::ostream& cipra::print_trait< T >::print (std::ostream &, const T &) [inline], [static]

Pretty-prints an object to a std::ostream. Defaults to using operator<<.

Author:
    Patrick M. Niedzielski

Date:
    2013-04-20

Since:
    1.1

Returns:
    The output stream.

Author

Generated automatically by Doxygen for cipra from the source code.