All Questions
2 questions
0
votes
1
answer
85
views
is it legal for an auto variable in a function to represent a different type in different invocations?
Consider the following function:
using iteratorPair = std::pair<std::set<Record>::const_iterator, std::set<Record>::const_iterator>;
using iteratorList = std::vector<iteratorPair&...
1
vote
1
answer
530
views
How does C++1z standard define the correct location of attributes in a template function declaration?
I noticed that the section 18.8/1 in C++11 and C++14 standards contained the following declaration in the <exception> header synopsis:
[[noreturn]] template <class T> void ...