hust-marx / firebreath

Automatically exported from code.google.com/p/firebreath
0 stars 0 forks source link

replace variant_list with list_of #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Georg: replace FB::variant_list with boost::list_of

Original issue reported on code.google.com by georg.fritzsche on 12 Dec 2009 at 2:19

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
... include "variant_list.h" and use it like e.g.:
FB::VariantList vl = variant_list_of(1)("2")(1.5);
obj->invoke("foo", variant_list_of(-1.67)("thanks for all the fish"));

Original comment by georg.fritzsche on 13 Dec 2009 at 10:59