I followed the idea here: http://herbsutter.com/2013/04/05/complex-initialization-for-a-const-variable/