File: stack.h

package info (click to toggle)
concurrentqueue 1.0.4%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,656 kB
  • sloc: cpp: 37,309; makefile: 99; ansic: 67; python: 46; sh: 11
file content (34 lines) | stat: -rw-r--r-- 712 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright (C) 2003  Davis E. King (davis@dlib.net)
// License: Boost Software License   See LICENSE.txt for the full license.
#ifndef DLIB_STACk_
#define DLIB_STACk_

#include "stack/stack_kernel_1.h"
#include "stack/stack_kernel_c.h"
#include "algs.h"

namespace dlib
{

    template <
        typename T,
        typename mem_manager = default_memory_manager 
        >
    class stack
    {
        stack() {}
    public:
        
        //----------- kernels ---------------

        // kernel_1a        
        typedef     stack_kernel_1<T,mem_manager>    
                    kernel_1a;
        typedef     stack_kernel_c<kernel_1a>
                    kernel_1a_c;
 
    };
}

#endif // DLIB_STACk_