Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pbsd
on Oct 31, 2012
|
parent
|
context
|
favorite
| on:
C++11 and Boost - Succinct like Python
I suppose he wanted to showcase boost::format. You can do it simpler with std::to_string:
return to_string(static_cast<unsigned char>(s[0]));
Consider applying for YC's W25 batch! Applications are open till Nov 12.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: