Comments (9)
from convert.
from convert.
from convert.
Olaf, I worked around the issue as per Paul's comments. I did not test it on MS Win (don't have it) but expect it all to be good. Please see if that is to your satisfaction. Tnx for pointing it out.
from convert.
Thanks!
BTW, boost::cnv::strtol::str_to_i() might benefit from an assert(!range.empty()) as it does an unchecked *range.begin().
from convert.
from convert.
from convert.
Olaf,
BTW, boost::cnv::strtol::str_to_i() might benefit from an
assert(!range.empty()) as it does an unchecked *range.begin()
I just checked the piece you mentioned and, yes, if the function was public, the added assert() might be beneficial... although I'd think a simple return would be more appropriate... and that is exactly what the caller of that function -- cnvbase::str_to_(). Agree?
from convert.
I did see the caller and it's just a minor thing.. point is since it's a function, it could also be called from elsewhere.
from convert.
Related Issues (13)
- std::isspace requires unsigned HOT 22
- convert<float> doesn't respect input size HOT 16
- Boost library convert failed to build due to .\boost/convert/stream.hpp(32): error C2039: 'noncopyable': is not a member of 'boost' HOT 2
- Boost library spirit failed to build due to .\boost/spirit/home/qi/nonterminal/rule.hpp(304): error C2664: 'bool boost::function4<R,T0,T1,T2,T3>::operator ()(T0,T1,T2,T3) const': cannot convert argument 4 from 'const Skipper' to 'T3' HOT 1
- convert failure. boost::cnv::strtol exception HOT 3
- One test from boost libraries failed to run after boost submodule convert updated from 8b6a8e to 72a571 HOT 1
- Some test files failed to build due to "error: 'namespace arg = boost::cnv::boost::cnv::parameter;' redeclared as different kind of symbol" HOT 6
- convert_test_performance failed to link for <link>shared HOT 3
- The library is a C++11 library and should be documented as such HOT 7
- `boost::cnv::printf` uses wrong format for str to double HOT 1
- charconv (from_chars) converter HOT 1
- charconv (from_chars) converter not work (crash) HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from convert.