|
Boost : |
Subject: [boost] [1.48 lexical_cast] Illegal Derefence
From: Olaf van der Spek (ml_at_[hidden])
Date: 2011-11-02 08:16:25
Hi,
This does an illegal dereference in boost\lexical_cast.hpp(1357): if (
Traits::eq(minus,*start) )
#include <boost/lexical_cast.hpp>
#include <boost/range/iterator_range.hpp>
int main()
{
boost::iterator_range<const char*> v;
boost::lexical_cast<int>(v);
}
-- Olaf
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk