Getting parsing error in this case:
FAILS:
auto foo( A<int>* p )
{
auto a = f(std::shared_ptr<A<int>>(p));
}
But If change ">>" by "> >" ( adding one separator between ">" then parsing is ok )
OK:
auto foo( A<int>* p )
{
auto a = f(std::shared_ptr<A<int> >(p));
}
Also if f() call is removed , ">>" without separator is accepted.
OK:
auto foo( A<int>* p )
{
auto a = std::shared_ptr<A<int>>(p);
}
Getting parsing error in this case:
FAILS:
But If change ">>" by "> >" ( adding one separator between ">" then parsing is ok )
OK:
Also if f() call is removed , ">>" without separator is accepted.
OK: