# std::basic_regex<CharT,Traits>::~basic_regex

> C++ Atlas: `cppatlas.com/w/cpp/regex/basic_regex/~basic_regex` | Source: https://en.cppreference.com/w/cpp/regex/basic_regex/~basic_regex | Domain: Regular expressions | Standards: C++11

Destroys the regular expression object.

## Official Specification Summary (cppreference)

```cpp
~basic_regex(); // (since C++11)
```

Destroys the regular expression object.

---
Attribution: content from https://en.cppreference.com/w/cpp/regex/basic_regex/~basic_regex (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.