User profile: Cubbi

User info
User name:Cubbi
Name:Cubbi
Location:Long Island, NY, USA
Website:http://stackoverflow.com/users/273767/cubbi
Bio:First language: PDP-11 assembly
Favorite language for fun: Forth or APL or Haskell
Favorite language for work: C++14 with boost

Education: Ph.D. in chemistry
Career:
1996: scientific software (phys. chemistry)
2000: OS development (hard real-time/military)
2002: scientific research (biochemistry)
2005: real-time C++ (transportation/city infrastructure)
2012: large scale infrastructure C++ (finance)

also taught programming in college and published a couple books
(non-English: http://amzn.to/18QDsFI )

also wrote much of http://cppreference.com

Biggest peeve: those who attempt to teach C++ but instead propagate nonsense like
while(!stream.eof()) or while(stream.good())
void main()
Google C++ Style Guide
The FQA

Opinions are my own and do not represent the position of my employer.
Statistical data
Birthdate:Feb 18, 1976
Gender:Male
Occupation:Engineer
Skills:C
C++
Assembly
History
Joined:
Number of posts:3741
Latest posts:

Using STL's qsort function for a vector object
To get a pointer to the first element of vec, use &vec[0] or vec.data(). The behavior of your progr...

Restoring my locale?
nice to see someone aware of C++'s well-hidden toupper for arrays. if you don't want the comma, cha...

Sorting unordered map by its value
std::sort requires its first two arguments to be random access iterators see http://www.cplusplus.co...

Locales
You don't need boost to do what you're trying to do, linux actually supports Unicode in C++ as the l...

When to use explicit?
[quote]It has meaning only when applied to constructor which can be called with exactly 1 argument p...