Game Develop C++ Platform: StringEmpty Struct Reference

| Game Develop C++ Platform Platform for developing native games based on OpenGL and SFML with Game Develop

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
Public Member Functions | List of all members
StringEmpty Struct Reference
Common programming tools

Functor testing if a std::string is empty. More...

`#include <CommonTools.h>`

## Public Member Functions

bool | operator() (const std::string &a) const

## Detailed Description

Functor testing if a std::string is empty.

Usage example:

//Remove all empty strings from a std::vector<std::string>.
myVector.erase(std::remove_if(myVector.begin(), myVector.end(), StringEmpty()), myVector.end());

The documentation for this struct was generated from the following file:

- CommonTools.h