2.2.7.9.5 oset::Insert

Contents

Description

Adds one element to the set

Syntax

BOOL Insert( _TemplType val )

Parameters

val
[input] The element to be added to the set

Return

Returns TRUE indicating success, else return FALSE


Examples

EX1

void set_Insert_ex()
{
	oset<string> s1;
	s1.Insert("hello");
	s1.Insert("Hello");
	s1.Insert("world");
}

Remark

See Also

Header to Included