¡@

Home 

c++ Programming Glossary: adl_begin

Should custom containers have free begin/end functions?

http://stackoverflow.com/questions/17562943/should-custom-containers-have-free-begin-end-functions

headers and general nuisance ADL through custom non member adl_begin and adl_end A second alternative is to encapsulate the using.. adl namespace by providing non member function templates adl_begin and adl_end which can then also be found through ADL. Example.. otherwise decltype will not find it template class C auto adl_begin C c decltype begin std forward C c using std begin in C 14 this..