, g++, g++ 5.1 g++ 7.0. , , . , , increment()
, , :
constexpr test()
{
m_counter++;
m_counter++;
increment();
increment();
increment();
}
constexpr test()
{
m_counter++;
m_counter++;
increment();
}
constexpr test()
{
m_counter++;
m_counter++;
}
constexpr test()
{
m_counter++;
m_counter++;
increment();
increment();
increment();
increment();
increment();
increment();
}
, increment()
. increment()
. m_counter++
.
constexpr test()
{
m_counter++;
m_counter++;
increment();
increment();
m_counter++;
m_counter++;
increment();
increment();
}
gmail tracker # 80039.