Click here to Skip to main content
15,906,947 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Question about ambiguous overloading operator >> in STL. Pin
Joaquín M López Muñoz21-Feb-03 2:55
Joaquín M López Muñoz21-Feb-03 2:55 
GeneralRe: Question about ambiguous overloading operator >> in STL. Pin
George221-Feb-03 3:08
George221-Feb-03 3:08 
GeneralPassing string to ATL interface function Pin
Shah Shehpori20-Feb-03 19:52
sussShah Shehpori20-Feb-03 19:52 
GeneralRe: Passing string to ATL interface function Pin
Steve S21-Feb-03 1:51
Steve S21-Feb-03 1:51 
QuestionVC6.0 map.insert method is not STL standard? Pin
George220-Feb-03 18:11
George220-Feb-03 18:11 
AnswerRe: VC6.0 map.insert method is not STL standard? Pin
Joaquín M López Muñoz20-Feb-03 20:42
Joaquín M López Muñoz20-Feb-03 20:42 
GeneralRe: VC6.0 map.insert method is not STL standard? Pin
George220-Feb-03 20:50
George220-Feb-03 20:50 
GeneralMy solution is correct? (about funtion parameter in STL) Pin
George220-Feb-03 16:27
George220-Feb-03 16:27 
Hi, everyone!


Such are the source codes of STL,

--------
template<class RandomAccessIterator, class T>
RandomAccessIterator binary_search (RandomAccessIterator first,
RandomAccessIterator last,
const T& value,
random_access_iterator_tag) {
// more efficient, but less generic algorithm
}

--------

I found there is a type "random_access_iterator_tag" in the definition
of the function. But there is not related parameter names. I think the
reason is the that fourth parameter is not used in the function, hidden the
parameter name can avoid warning in some compilers.


Am I correct?



Thanks in advance,
Geroge
GeneralRe: My solution is correct? (about funtion parameter in STL) Pin
Christian Graus20-Feb-03 16:52
protectorChristian Graus20-Feb-03 16:52 
GeneralRe: My solution is correct? (about funtion parameter in STL) Pin
George220-Feb-03 17:23
George220-Feb-03 17:23 
GeneralQuestion about overloading operator >> in STL. Pin
George220-Feb-03 3:01
George220-Feb-03 3:01 
GeneralRe: Question about overloading operator >> in STL. Pin
Joaquín M López Muñoz20-Feb-03 6:44
Joaquín M López Muñoz20-Feb-03 6:44 
GeneralRe: Question about overloading operator >> in STL. Pin
George220-Feb-03 15:52
George220-Feb-03 15:52 
GeneralNeed a hint on implementing path picker WTL control. Pin
Ilushka20-Feb-03 2:40
Ilushka20-Feb-03 2:40 
GeneralRe: Need a hint on implementing path picker WTL control. Pin
AlexO20-Feb-03 2:51
AlexO20-Feb-03 2:51 
GeneralRe: Need a hint on implementing path picker WTL control. Pin
Ilushka20-Feb-03 4:47
Ilushka20-Feb-03 4:47 
GeneralATL input parameter Pin
Anonymous19-Feb-03 23:54
Anonymous19-Feb-03 23:54 
GeneralRe: ATL input parameter Pin
Steve S20-Feb-03 1:36
Steve S20-Feb-03 1:36 
GeneralMax value in collection (STL) Pin
Kevin McFarlane19-Feb-03 11:19
Kevin McFarlane19-Feb-03 11:19 
GeneralRe: Max value in collection (STL) Pin
Ryan_Roberts19-Feb-03 11:40
Ryan_Roberts19-Feb-03 11:40 
GeneralRe: Max value in collection (STL) Pin
Kevin McFarlane19-Feb-03 11:56
Kevin McFarlane19-Feb-03 11:56 
GeneralStrange behavior - affects performance Pin
Chen Venkataraman19-Feb-03 11:18
Chen Venkataraman19-Feb-03 11:18 
Generalvector.erase(iterator) Pin
Anonymous19-Feb-03 6:20
Anonymous19-Feb-03 6:20 
GeneralRe: vector.erase(iterator) Pin
Joaquín M López Muñoz19-Feb-03 9:08
Joaquín M López Muñoz19-Feb-03 9:08 
GeneralQuestion about strange declaration of STL map. Pin
George219-Feb-03 2:57
George219-Feb-03 2:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.