Commit a10a8d38 authored by Dominik Charousset's avatar Dominik Charousset

updated example to new to_string interface

parent 83c2b26b
......@@ -119,7 +119,7 @@ int main(int, char**) {
},
on<baz>() >> [](const baz& val) {
// prints: baz ( foo ( 1, 2 ), bar ( foo ( 3, 4 ), 5 ) )
cout << to_string(val) << endl;
cout << to_string(object::from(val)) << endl;
}
);
shutdown();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment