You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
712 B
C++
35 lines
712 B
C++
// 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_
|
|
|