Posts tagged c++

Code Snippet, Easier use of boost::variant.

I have been using boost::variant a lot lately in many project and have gotten tired having to recheck code I’ve written to determine what result boost::variant::which() would return for which type.  As such I have written one solution for this, but decided to come up with a more generic solution.  This solution provides a very readable way to do type checks on variants as runtime and with inline produces very optimal code. Read the rest of this entry »

TCL-R 0.1 Released

I’ve been working on this first version for a while now, and I think it is ready.  The first release of TCL-R marks the beginning of what I hope will be a great project.  This version is really minimal and can only be compiled on Visual Studio 2008 as a static library at the moment.  It is only an interpreter in a library and isn’t designed to be used as a shell or full TCL distribution.

Read the rest of this entry »