瀏覽代碼

extend() for initializer lists

default_compile_flags
vector-of-bool 6 年之前
父節點
當前提交
1d34c3e529
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. +5
    -0
      src/dds/util.hpp

+ 5
- 0
src/dds/util.hpp 查看文件

c.insert(c.end(), o.begin(), o.end()); c.insert(c.end(), o.begin(), o.end());
} }


template <typename Container, typename Item>
void extend(Container& c, std::initializer_list<Item> il) {
extend(c, il);
}

} // namespace dds } // namespace dds


#endif // DDS_UTIL_HPP_INCLUDED #endif // DDS_UTIL_HPP_INCLUDED

Loading…
取消
儲存