Skip to content

Commit b94b843

Browse files
timblechmannrollbear
authored andcommitted
add missing is_ostreamable
1 parent 35051c0 commit b94b843

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/strong_type/strong_type.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,9 @@ struct ostreamable
571571
};
572572
};
573573

574+
template<typename T>
575+
using is_ostreamable = std::is_base_of<ostreamable::modifier<T>, T>;
576+
574577
struct istreamable
575578
{
576579
template <typename T>

0 commit comments

Comments
 (0)