Make operator<< inline
Make operator<< inline

Just like to_string, operator<< needs to be declared inline. If this is not the case, multiple translation units may have the same definition of operator<< and they will not be able to be linked together.
therocode/smartenum