How are the references and const variables in the class before CPP11 initialized?

CPP11 allows list initialization for all objects, and because the constructor body is assigned, references and const variables must be initialized first, so you must use list initialization, so how is it initialized before CPP11?

Mar.04,2021

initialization of members can be done with direct initialization . The specific practice is:

Class::Class() : member(args)... {...}

this does not require cPP11.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be2776-315e7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be2776-315e7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?