Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

Class template stack

Boost , Chapter 1. Boost.Compute , Reference

Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Class template stack

boost::compute::stack

Synopsis

// In header: <boost/compute/container/stack.hpp>
template<typename T> 
class stack {
public:
  // types
  typedef vector< T >                container_type;
  typedef container_type::size_type  size_type;     
  typedef container_type::value_type value_type;    
  // construct/copy/destruct
  stack();
  stack(const stack< T > &);
  stack< T > & operator=(const stack< T > &);
  ~stack();
  // public member functions
  bool empty() const;
  size_type size() const;
  value_type top() const;
  void push(const T &);
  void pop();
};

Description

stack public construct/copy/destruct

  1. stack();
  2. stack(const stack< T > & other;
  3. stack > & оператор=(const stack< T >  & другие;
  4. ~stack();

stack public member functions

  1. bool empty()const;
  2. size_type ize() const;
  3. value_type top()const;
  4. void push(const T &value;;
  5. void pop();

PrevUpHomeNext

Статья Class template stack раздела Chapter 1. Boost.Compute Reference может быть полезна для разработчиков на c++ и boost.




Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



:: Главная :: Reference ::


реклама


©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-05-20 06:45:15/0.0056760311126709/0