Hi, what kind of error is this(See below)? My code works, but I received this error which I have never seen before. Can anyone explain what this is and what I should do about this? Thanks.
see reference to function template instantiation 'std::pair<int,int>::pair<size_t,size_t,0>(_Other1 &&,_Other2 &&) noexcept' being compiled
with
[
_Other1=size_t,
_Other2=size_t
]
Any error message should be labelled with "error: " along with the location in the source where the error was detected. You'll need to post the entire error message (or at least the first few lines, if it is very long), and the relevant code.
C:\Users\.....): note: see reference to function template instantiation 'std::pair<int,int>::pair<size_t,size_t,0>(_Other1 &&,_Other2 &&) noexcept' being compiled
with
[
_Other1=size_t,
_Other2=size_t
]
C:\Users\.....: note: while compiling class template member function 'void cs114::RenderingVisitor<T>::visit(cs114::Triangle<T> &)'
with
[
T=`anonymous-namespace'::vector
]