another c++11 variant found on internet
even when it doesn't fix the current problems it's good to have