标签: c++ std argument-dependent-lookup
为什么std::size_t似乎没有在std名称空间内触发ADL?
std::size_t
Example:
#include <vector> #include <tuple> std::size_t i{1}; //doesn't seem to trigger ADL //std::vector i{1}; //triggers ADL auto k = make_tuple(i);