summaryrefslogtreecommitdiffhomepage
path: root/docs/cstack_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-09-11 22:58:58 +0200
committerTyge Løvset <[email protected]>2021-09-11 22:58:58 +0200
commita2aa14cc91ccbd42cd1188c6fac6126a38d0de77 (patch)
tree843baa1eba7abae70b54326ca898607eedbc5e76 /docs/cstack_api.md
parent658019e1e53ad1ccbca5c623b7199c445eab8b86 (diff)
downloadSTC-modified-a2aa14cc91ccbd42cd1188c6fac6126a38d0de77.tar.gz
STC-modified-a2aa14cc91ccbd42cd1188c6fac6126a38d0de77.zip
Fixed docs for newstyle.
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