---
name: "string.h"
section: "3"
platform: "linux"
package: "libcommoncpp2-doc"
version: "1.8.1-10"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/string.h"
---

# string.h(3)

Common C++ generic string class.

## NAME

string.h - Common C++ generic string class.

## SYNOPSIS

`#include <cc++/missing.h>`\
 `#include <cc++/strchar.h>`\

### Classes

class **ost::String**\
 This is a generic and portable string class.  class **ost::SString**\
 class **ost::StringObject**\
 The **StringObject** class is used to derive subclasses that use the **String** managed memory pool for all space allocations by overriding new and delete operators.

### Namespaces

 **ost**\

### Functions

**\_\_EXPORT** std::istream & **ost::getline** (std::istream &is, String &str, char delim='\\n', size\_t size=0)\

## Detailed Description

Common C++ generic string class.

## Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.
