Saturday, July 9, 2016

Example boost:fusion

Example of boost::fusion vector. It is like a C++ tuple.

I guess you can guess what the output is:

kuyu@castor-ub:~/dkuyu/practice/cpp/boost/fusion$ g++ -I/home/kuyu/dkuyu/bin/boost_1_60_0 vec.cpp && ./a.out 
howdy
kuyu@castor-ub:~/dkuyu/practice/cpp/boost/fusion$

No comments:

Post a Comment