I'm reviewing some code written by others and bumped into the following line of code: fdat.push_back( itr->leaf()+"\\"+fdat_i )
Where itr->leaf() and fdat_i are strings. We are using the Boost library.
My question is: does the "+" operator work for strings? I've done some searching and discovered that it works in C#, but can find no mention of it in C or C++. I haven't used strings much (I always end up using c-strings for whatever reason) and have only just started on Boost, so I'm just wondering if this is just a simple case of ignorance or if my friend put some C# in his code.