tagval 0.2.0
Modern C++23 header-only library of tagged values (open/closed enumerations with metadata)
Loading...
Searching...
No Matches
ostream.hpp File Reference

operator<< for any tagval value type — writes value.code() to the stream. More...

#include <tagval/base.hpp>
#include <concepts>
#include <ostream>
+ Include dependency graph for ostream.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  tagval
 

Functions

template<typename T >
requires std::derived_from<T, detail::TagValBaseTag>
std::ostream & tagval::operator<< (std::ostream &os, const T &v)
 

Detailed Description

operator<< for any tagval value type — writes value.code() to the stream.