diff options
Diffstat (limited to 'pages/projects/const_list.md')
-rw-r--r-- | pages/projects/const_list.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pages/projects/const_list.md b/pages/projects/const_list.md index 9a5c18c..efd60a0 100644 --- a/pages/projects/const_list.md +++ b/pages/projects/const_list.md @@ -22,7 +22,7 @@ Note that these restrictions were overcome in my [second attempt] at this proble ## Usage example -~~~ +```cpp const int sum{ ConstList::foldr( ConstList::make(1, 2, 3, 4, 5), @@ -32,8 +32,7 @@ const int sum{ 0 ) }; // => 15 -~~~ -{: .language-cpp} +``` [Github]: https://github.com/KnairdA/ConstList/ [cgit]: http://code.kummerlaender.eu/ConstList/ |