Thursday 15 May 2014

c++ - How to use boost::variant correctly? -


I intend to use 3D vector with odd data boost :: variant Or using boost.any . However, I could not find any simple tutorials on that. What is a library I should be involved in? Can someone give me simple tutorials or examples?

There is definitely a relatively simple tutorial / promotion on promotion (website).

For libraries that you should include: This will boost the course. Specifically, you need the header file boost / variant.hpp and boost / any .hpp . Both library headers are only libraries, that means you just need to install Boost (if you have not already).

No comments:

Post a Comment