blob: 480ddd84ee8c082c91df2512ac851cab41cd8847 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/*
* This source code is released into the public domain.
*/
module;
#include <iostream>
#include <iterator>
module nihil.ucl;
namespace nihil::ucl {
auto operator<<(std::ostream &stream, object const &o)
-> std::ostream &
{
emit(o, emitter::json, std::ostream_iterator<char>(stream));
return stream;
}
} // namespace nihil::ucl
|