[DEV] add v1.76.0

This commit is contained in:
2021-10-05 21:37:46 +02:00
parent a97e9ae7d4
commit d0115b733d
45133 changed files with 4744437 additions and 1026325 deletions

View File

@@ -443,19 +443,19 @@ loop variable is a template. Consider trying to iterate over a `std::map`:
std::map<int,int> m;
// ERROR! Too many arguments to BOOST_FOREACH macro.
BOOST_FOREACH(std::pair<int,int> p, m) // ...
BOOST_FOREACH(std::pair<const int,int> p, m) // ...
One way to fix this is with a typedef.
std::map<int,int> m;
typedef std::pair<int,int> pair_t;
typedef std::pair<const int,int> pair_t;
BOOST_FOREACH(pair_t p, m) // ...
Another way to fix it is to predeclare the loop variable:
std::map<int,int> m;
std::pair<int,int> p;
std::pair<const int,int> p;
BOOST_FOREACH(p, m) // ...
@@ -510,7 +510,7 @@ code which demonstrated that a pure library solution might be possible. The code
proposed C++\/CLI dialect of the time, for which there was no compiler as of yet. I was intrigued by
the possibility, and I ported his code to Managed C++ and got it working. We worked together to
refine the idea and eventually published an article about it in the November 2003 issue of the
[@http://www.cuj.com CUJ].
CUJ.
After leaving Microsoft, I revisited the idea of a looping construct. I reimplemented the macro
from scratch in standard C++, corrected some shortcomings of the CUJ version and rechristened it