Boost C++ Libraries: Ticket #7615: use property_tree::ptree.get<char>() for MSVC https://svn.boost.org/trac10/ticket/7615 <p> error : not exception "ptree_bad_data" compiler MSVC 10. </p> <pre class="wiki"> ptree pt; pt.put&lt;int&gt;("a",1000000); try { pt.get&lt;unsigned char&gt;("a"); // !!! bug !!! BOOST_ERROR("No required exception thrown"); } catch (boost::property_tree::ptree_bad_data &amp;) { } catch (...) { BOOST_ERROR("Wrong exception type thrown"); } </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7615 Trac 1.4.3 shirshov evgeny <381677383@…> Wed, 31 Oct 2012 10:00:38 GMT attachment set https://svn.boost.org/trac10/ticket/7615 https://svn.boost.org/trac10/ticket/7615 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">stream_translator.hpp.patch</span> </li> </ul> <p> patch </p> Ticket shirshov evgeny <381677383@…> Wed, 31 Oct 2012 10:01:33 GMT attachment set https://svn.boost.org/trac10/ticket/7615 https://svn.boost.org/trac10/ticket/7615 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_test.cpp</span> </li> </ul> <p> unit test </p> Ticket jbartosch@… Wed, 06 Feb 2013 15:45:05 GMT keywords changed https://svn.boost.org/trac10/ticket/7615#comment:1 https://svn.boost.org/trac10/ticket/7615#comment:1 <ul> <li><strong>keywords</strong> property_tree added; property_three removed </li> </ul> <p> edit: Changed misspelled keyword (property_three to property_tree) to possibly help visibility. </p> <p> I just spend a few hours tracking down this problem in a program I'm working on. Would be great to see this fix included in a release soon. As it is, I can't use uint8_t with property_tree. </p> Ticket Sebastian Redl Thu, 22 Jan 2015 15:46:28 GMT cc, status changed https://svn.boost.org/trac10/ticket/7615#comment:2 https://svn.boost.org/trac10/ticket/7615#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">shirshov</span> <span class="trac-author">evgeny</span> <span class="trac-author">&lt;381677383@…&gt;</span> added; <span class="trac-author">shirshov evgeny &lt;381677383@…&gt;</span> removed </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> Fixed on develop in commit #bf1e1b1. </p> Ticket Sebastian Redl Fri, 23 Jan 2015 10:46:30 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/7615#comment:3 https://svn.boost.org/trac10/ticket/7615#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Merged to master in commit 3befb8cbe4. </p> Ticket