Skip to content

Commit 1efcc2e

Browse files
committed
refactor(Handlebars): distinguish ostream types
1 parent c46c4a9 commit 1efcc2e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/mrdocs/Support/Handlebars.hpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,9 @@ class MRDOCS_DECL OutputRef
268268
@param os The output stream to write to
269269
*/
270270
template <detail::LHROStreamable Os>
271-
requires std::is_convertible_v<Os*, std::ostream*>
271+
requires
272+
std::is_convertible_v<Os*, std::ostream*> &&
273+
(!detail::StdLHROStreamable<Os>)
272274
OutputRef( Os& os )
273275
: out_( &os )
274276
, fptr_( &write_to_output<Os> )

0 commit comments

Comments
 (0)