¡@

Home 

c++ Programming Glossary: is_pair

std::lower_bound slower for std::vector than std::map::find

http://stackoverflow.com/questions/8784732/stdlower-bound-slower-for-stdvector-than-stdmapfind

if a type is a std pair L R template typename struct is_pair enum value false template typename F typename S struct is_pair.. enum value false template typename F typename S struct is_pair std pair F S enum value true ... and then I replaced the comparator.. typename L typename R inline typename std enable_if is_pair L value is_pair R value bool type operator L const left R const..