Posted in Development
include <string>
std::string operator*(std::string& s, unsigned int n)
{
std::string cml;
cml.reserve(s.size() * n);
for (decltype(n) i = 0; i < n; i++) {
cml += s;
}
return cml;
}
int main()
{
std::string s = "test";
std::string sss = s*3;
std::cout << sss << std::endl; // testtesttest
}
Comments
c++
Posted in Fun

From VK
Comments
fox, sheep
Posted in Culture/Holidays, Culture/Music, Video
Comments
christmas, peter hollens, piano guys
Posted in Culture/Games
Just driving around in Duisburg

Whoops! An unvisited piece on the visited road! Something’s changed!

Let’s see

A bus stop? Coaches are coming? I can’t wait!

I guess more info will be here some day: eurocoachsimulator.com
Comments
euro coach simulator, euro truck simulator, scs software, speculation Also in Russian
Posted in Science/Biology
A very popular GIF source :)
Comments
fox
Posted in Culture/Movies and TV, Culture/Music, Video
src
Comments
doctor who, missy
Posted in Culture/Movies and TV, Fun

Comments
doctor who
Posted in Fun, Culture/Movies and TV

(source unknown)
Comments
lion king, scar
Posted in Science/Tech, Culture/Music, Fun
Ed Force One, the Iron Maiden plane

Comments
iron maiden Also in Russian
Posted in Culture/Music, Culture/Literature, Culture/Movies and TV, Video
Comments
game of thrones, peter hollens, rains of castamere