"Mayukh"is not std::string, it is an array constof 7 characters {'M', 'a', 'y', 'u', 'k', 'h', '\0'}. In C ++ 14 "Mayukh"sis std::stringafter using namespace std::literals::string_literals;.
In C ++ 11 is std::string("Mayukh")also std::string.
boost::any (, decay/const/etc). . . :
, , , .. 5, int "5", 5.0. , , , - .
any . , -, , , ( short s: int64_t uint64_t, "hello" std::string("hello") ..) .