DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
use lower bound in pair vector
int position = lower_bound(v.begin(),v.end(),{first, -inf})-v.begin();
PREVIOUS
NEXT
Tagged:
#bound
#pair
#vector
ADD COMMENT
Topic
COMMENT
Name
2+5 =
Submit