splinter-build / splinter

A series of patches (one per branch) on top of the Ninja project's codebase. Updated periodically.
Apache License 2.0
6 stars 1 forks source link

More template's to reduce code repetetion and simplify the code! [PATCH] #7

Closed shahzadlone closed 5 years ago

shahzadlone commented 5 years ago

Here is an example by @jonesmz the great!

template<typename ... STRING_T>
inline std::string string_concat(STRINGS_T && args)
{
    // make a new string in an optimal way that contains all of the argument strings concatenated together.
}
jonesmz commented 5 years ago

Fixed. 10-string_concat