summaryrefslogtreecommitdiffhomepage
path: root/docs/cstack_api.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cstack_api.md')
-rw-r--r--docs/cstack_api.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/cstack_api.md b/docs/cstack_api.md
index 0bb5138b..b971811c 100644
--- a/docs/cstack_api.md
+++ b/docs/cstack_api.md
@@ -1,9 +1,9 @@
# STC [cstack](../include/stc/cstack.h): Stack
![Stack](pics/stack.jpg)
-The **cstack** is a container adapter that gives the programmer the functionality of a stack - specifically, a LIFO (last-in, first-out) data structure. The class template acts as a wrapper to the underlying container - only a specific set of functions is provided. The stack pushes and pops the element from the back of the underlying container, known as the top of the stack.
+The **cstack** is a container that gives the programmer the functionality of a stack - specifically, a LIFO (last-in, first-out) data structure. The stack pushes and pops the element from the back of the underlying container, known as the top of the stack.
-See the c++ class [std::stack](https://en.cppreference.com/w/cpp/container/stack) for a functional description.
+See the c++ class [std::stack](https://en.cppreference.com/w/cpp/container/stack) for a functional description.
## Header file and declaration
@@ -19,7 +19,6 @@ See the c++ class [std::stack](https://en.cppreference.com/w/cpp/container/stack
```
`X` should be replaced by the value of i_tag in all of the following documentation.
-
## Methods
```c