test icon indicating copy to clipboard operation
test copied to clipboard

Check that lazy_ostream argument is printable

Open ecatmur opened this issue 4 years ago • 0 comments

The operator() is not instantiated till later, which makes it difficult to locate an erroneous usage of <<. Place a static_assert in the ctor (copied from print_helper.hpp) to check at construction time, which will point back to the << site.

ecatmur avatar Jan 18 '22 14:01 ecatmur