Skip to content

Instantly share code, notes, and snippets.

template <typename type, typename std_type = std::allocator<type>>std::list<type, std_type> operator+(std::list<type, std_type> * operand, std::list<type> * operanded)
{
std::list<type> * list = new std::list<type>;
list.assign(operand.begin(), operand.end());
for_each(operanded.begin(), operanded.end(), [&list](type element)->void{ list.push_back(element); });
return list;
}
@yosangwon
yosangwon / tmux.conf
Last active August 29, 2015 14:16 — forked from shinzui/tmux.conf
# ~/.tmux.conf
#
# See the following files:
#
# /opt/local/share/doc/tmux/t-williams.conf
# /opt/local/share/doc/tmux/screen-keys.conf
# /opt/local/share/doc/tmux/vim-keys.conf
#
# URLs to read:
#