...one of the most highly regarded and expertly designed C++ library projects in the world. — Herb Sutter and Andrei Alexandrescu, C++ Coding Standards
...one of the most highly regarded and expertly designed C++ library projects in the world.
boost::compute::pinned_allocator
// In header: <boost/compute/allocator/pinned_allocator.hpp> template<typename T> class pinned_allocator : public boost::compute::buffer_allocator< T > { public: // construct/copy/destruct explicit pinned_allocator(const context &); pinned_allocator(const pinned_allocator< T > &); pinned_allocator< T > & operator=(const pinned_allocator< T > &); ~pinned_allocator(); };
pinned_allocator
explicitpinned_allocator(constcontext&context);
pinned_allocator(constpinned_allocator<T>&other);
pinned_allocator<T>&operator=(constpinned_allocator<T>&other);
~pinned_allocator();
Статья Class template pinned_allocator раздела Chapter 1. Boost.Compute Reference может быть полезна для разработчиков на c++ и boost.
Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.
:: Главная :: Reference ::
реклама