
22 Nov
2004
22 Nov
'04
4:30 p.m.
I've implemented a de/serialization of variant using an extended version of the "bencode" format from the BitTorrent protocol (see http://bittorrent.com/protocol.html for more details). I've extended it to include the Boost gregorian date and posix_time types from the date_time library. Basically, there is a single character type specifier before each value that you can use to trigger type-specific handling. Attached are an implementation and an example program that exercises the implementation as well as the new assign library (with a more American style of football score :) -- Caleb Epstein caleb dot epstein at gmail dot com