されるのだけど、これで困るのがイテレータを回してる時にpush_backしたいとき。
解決法としては
- 別のvectorコンテナに入れてあとでmergeする
- std::listを使う
されるのだけど、これで困るのがイテレータを回してる時にpush_backしたいとき。
解決法としては
Ubuntu14.10にて、以下の通りに。 2.2.0がコケる何で。とりあえず1.9.3を入れる。
$ git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
$ echo 'eval "$(rbenv init -)"' >> ~/.bashrc
$ git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
$ rbenv install 1.9.3-p551| class Actor { | |
| public: | |
| Actor() = default; | |
| virtual ~Actor() = default; | |
| virtual void update() = 0; | |
| virtual void draw() = 0; | |
| void kill() { enable = false; } | |
| bool isEnabled() const { return enable; } | |
| private: |
| template <typename Type> inline void OutputDebugValue(Type& value) { | |
| OutputDebugString(std::to_string(value).c_str()); | |
| OutputDebugString("\n"); | |
| } |
「VC++ Directories」→「Include Directories」
「VC++ Directories」→「Library Directories」
d3dx9d.lib;d3d9.lib;winmm.lib;dxguid.lib;dinput8.lib;xinput.lib (Debug)
d3dx9.lib;d3d9.lib;winmm.lib;dxguid.lib;dinput8.lib;xinput.lib (Relese)
ConEmuからGitBashが呼べるようにする
Ricty diminished Discordを入れる。
http://www.rs.tus.ac.jp/yyusa/ricty_diminished.html
アンチエイリアスはStandard
あとここらの設定
http://normalblog.net/system/download_install_settings
| #include <winbase.h> | |
| #include <boost/format.hpp> | |
| inline void Log(boost::format &bfmt) { | |
| #if defined(_DEBUG) | |
| OutputDebugString(bfmt.str().c_str()); | |
| #endif | |
| } | |
| template<class First, class... Rest> |
まずは深呼吸。
git branch new_branch [ブランチを分けたいコミット]
git co new_branch
git graph master -n 10 | cat #とかでcherry-pickするコミット番号確認
git cherry-pick [cherry-pick の始点となるコミット]..[cherry-pick の終点となるコミット]