Home | All Classes | Grouped Classes | Index | Search

CL_String::to_bool

Converts a string to a boolean.

	bool to_bool(
		const std::string& value);

Detailed description:

Accepted values: "1", "0", "yes", "no", "true", "false". All other values return false. The function is not case sensitive.

See also:

CL_String



Questions or comments, write to the ClanLib mailing list.