⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hash_deprecated_headers.cpp

📁 Boost provides free peer-reviewed portable C++ source libraries. We emphasize libraries that work
💻 CPP
字号:
// Copyright 2007-2008 Daniel James.// 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)// All these headers are meant output a warning, but not cause the compilation// to fail.#include <boost/functional/hash/deque.hpp>#include <boost/functional/hash/list.hpp>#include <boost/functional/hash/map.hpp>#include <boost/functional/hash/pair.hpp>#include <boost/functional/hash/set.hpp>#include <boost/functional/hash/vector.hpp>// And a quick check that the hash library was included.// Strictly speaking I should do this once for each header// but that would just be wasting the testing resources.#include <vector>int main() {    std::vector<int> v;    boost::hash<std::vector<int> > x;    x(v);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -