---
name: "std::_Fwd_list_base"
section: "3"
platform: "linux"
package: "gcc"
version: "16.2.1+r23+gd564253eb6c8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/std::_Fwd_list_base"
---

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

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, polymorphic\_allocator\< \_Tp \> \>** \[private\], and **std::forward\_list\< \_Tp, \_Alloc \>** \[private\].

### Public Types

using **const\_iterator**\
 using **iterator**\
 using **pointer**\

### 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

using **\_Base\_ptr**\
 using **\_Node**\
 using **\_Node\_alloc\_traits**\
 using **\_Node\_alloc\_type**\
 using **\_Node\_ptr**\
 using **\_Node\_traits**\

### Protected Member Functions

template\<typename... \_Args\> \_Node\_ptr **\_M\_create\_node** (\_Args &&... \_\_args)\
 void **\_M\_destroy\_node** (\_Node\_ptr \_\_p)\
 \_Base\_ptr **\_M\_erase\_after** (\_Base\_ptr \_\_pos)\
 \_Base\_ptr **\_M\_erase\_after** (\_Base\_ptr \_\_pos, \_Base\_ptr \_\_last)\
 \_Node \* **\_M\_get\_node** ()\
 template\<typename... \_Args\> \_Base\_ptr **\_M\_insert\_after** (const\_iterator \_\_pos, \_Args &&... \_\_args)\
 void **\_M\_put\_node** (\_Node\_ptr \_\_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.
