/* Copyright 2017 Pablo Halpern.
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef PMR_PMR_VECTOR_HPP_
#define PMR_PMR_VECTOR_HPP_
#include <vector>
#include "polymorphic_allocator.hpp"
namespace cpp17 {
namespace pmr {
// C++17 vector container that uses a polymorphic allocator.
template <class Tp>
using vector = std::vector<Tp, polymorphic_allocator<Tp>>;
}
}
#endif // PMR_PMR_VECTOR_HPP_
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/zograscope
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/zograscope
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master