|
Boost : |
From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2004-11-22 11:30:17
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk