---
name: "std::_Fwd_list_base"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/std::_Fwd_list_base/3cxx"
---

# std::\_Fwd\_list\_base(3cxx)

Base class for forward\_list.

## NAME

std::\_Fwd\_list\_base\< \_Tp, \_Alloc \> - Base class for forward\_list.

## SYNOPSIS

`#include <forward_list>`

Inherited by **std::forward\_list\< \_Tp, \_Alloc \>**` [private]`.

### Public Types

**typedef** **\_Fwd\_list\_node**\< \_Tp \> **\_Node**\
 **typedef** **\_Fwd\_list\_const\_iterator**\< \_Tp \> **const\_iterator**\
 **typedef** **\_Fwd\_list\_iterator**\< \_Tp \> **iterator**\

### Public Member Functions

**\_Fwd\_list\_base** (**\_Fwd\_list\_base** &&)=**default**\
 **\_Fwd\_list\_base** (**\_Fwd\_list\_base** &&**\_\_lst**, \_Node\_alloc\_type &&\_\_a)\
 **\_Fwd\_list\_base** (**\_Fwd\_list\_base** &&**\_\_lst**, \_Node\_alloc\_type &&\_\_a, **std::true\_type**)\
 **\_Fwd\_list\_base** (\_Node\_alloc\_type &&\_\_a)\
 const \_Node\_alloc\_type & **\_M\_get\_Node\_allocator** () const noexcept\
 \_Node\_alloc\_type & **\_M\_get\_Node\_allocator** () noexcept\

### Protected Types

**typedef** **\_\_gnu\_cxx::\_\_alloc\_traits**\< \_Node\_alloc\_type \> **\_Node\_alloc\_traits**\
 **typedef** **\_\_alloc\_rebind**\< \_Alloc, **\_Fwd\_list\_node**\< \_Tp \> \> **\_Node\_alloc\_type**\

### Protected Member Functions

template\<typename... \_Args\> **\_Node** \* **\_M\_create\_node** (**\_Args** &&... **\_\_args**)\
 **\_Fwd\_list\_node\_base** \* **\_M\_erase\_after** (**\_Fwd\_list\_node\_base** \***\_\_pos**)\
 **\_Fwd\_list\_node\_base** \* **\_M\_erase\_after** (**\_Fwd\_list\_node\_base** \***\_\_pos**, **\_Fwd\_list\_node\_base** \*\_\_last)\
 **\_Node** \* **\_M\_get\_node** ()\
 template\<typename... \_Args\> **\_Fwd\_list\_node\_base** \* **\_M\_insert\_after** (**const\_iterator** **\_\_pos**, **\_Args** &&... **\_\_args**)\
 **void** **\_M\_put\_node** (**\_Node** \*\_\_p)\

### Protected Attributes

\_Fwd\_list\_impl **\_M\_impl**\

## Detailed Description

### template\<typename \_Tp, typename \_Alloc\>

struct std::\_Fwd\_list\_base\< \_Tp, \_Alloc \>"Base class for forward\_list.

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
