Boost logo

Boost Users :

Subject: [Boost-users] [boost::property_tree] how to put to paths with '/' slashes?
From: Julien Claassen (julien_at_[hidden])
Date: 2011-05-09 13:37:25


Hello everyne!
   I'm just looking at the property_tree and wonder, if I can do something like
this:
ptree my_tree;
my_tree.put('/',"/path/to/my.node","hello world");
   The get functions support this syntax, but I didn't see anything
corresponding to it with put ?
   Any ideas, workarounds?
   Kind regards and thanks
            Julien

--------
Music was my first love and it will be my last (John Miles)

======== FIND MY WEB-PROJECT AT: ========
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: =======
http://www.juliencoder.de


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net