Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Type to String Conversions, and Vice-Versa

CppNow via YouTube

Overview

Explore various methods for converting types to strings and vice-versa in C++ during this CppNow conference talk. Delve into traditional functions like atoi and strtol, modern C++11 solutions such as std::stoi, and Boost library offerings like boost::lexical_cast. Examine the strengths and weaknesses of each approach, including error handling, fallback mechanisms, and locale support. Discover boost::coerce, a Google Summer of Code project, and learn how it complements existing options with improved speed and extensibility. Gain insights into the design process behind boost::coerce and see practical examples of its usage. If time allows, investigate customization points and the library's relationship to Spirit.

Syllabus

Jeroen Habraken: Type to string conversions, and vice-versa

Taught by

CppNow

Reviews

Start your review of Type to String Conversions, and Vice-Versa

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.