Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

why should I care about EXTENSION comments in boost documentation

Tags:

c++

boost

By looking at boost documentation some of the classes and functions are commented as "EXTENSION"

for example like this one, what does this "EXTENSION" mean and why should I care about it?

the comment is supposed to give some notice, but what does it mean for casual learners such as myself?

like image 204
codekiddy Avatar asked Sep 26 '22 18:09

codekiddy


1 Answers

By looking at what is marked as EXTENSION, I can say that they are entities in boost which are not in the corresponding part of std. boost::thread and related can basically be used as a drop-in replacement for std::thread; the EXTENSION comments seem to mark additionaly bits which don't have the std equivalent.

like image 103
Angew is no longer proud of SO Avatar answered Oct 11 '22 13:10

Angew is no longer proud of SO