‘std::make_unique’ in namespace ‘std’ does not name a template type g++

I’m using g++ 10.1 the hello world was working fine so I assume it’s using c++ 14 as set in the projucer.

I try to compile :
std::make_unique <AudioProcessorValueTreeState::SliderAttachment> pointAttachment;

it outputs:
‘std::make_unique’ in namespace ‘std’ does not name a template type

That is a typo. You meant to write std::unique_ptr I guess?
std::make_unique is indeed a function and not a type.

Thanks it’s solved :slight_smile: