Below code instantiates a derived singleton object based on environment variable. The compiler errors saying error C2512: 'Dotted' : no appropriate default constructor. I don't understand what the compiler is complaining about.
#include <stdlib.h>
#include <iostream>
#include <string>
using namespace std;
class Dotted;
class
…