Download dependencies/libcudacxx/libcxx/test/std/utilities/template.bitset/includes.pass.cpp from camenduru/thrust: direct link, hf CLI and curl.
- Browser
- Download file 801 Bytes
-
https://huggingface.co/camenduru/thrust/resolve/main/dependencies/libcudacxx/libcxx/test/std/utilities/template.bitset/includes.pass.cpp
- Command line
-
hf download hf://camenduru/thrust/dependencies/libcudacxx/libcxx/test/std/utilities/template.bitset/includes.pass.cpp
-
curl -L -o includes.pass.cpp https://huggingface.co/camenduru/thrust/resolve/main/dependencies/libcudacxx/libcxx/test/std/utilities/template.bitset/includes.pass.cpp
801 Bytes
| //===----------------------------------------------------------------------===// | |
| // | |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | |
| // See https://llvm.org/LICENSE.txt for license information. | |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
| // | |
| //===----------------------------------------------------------------------===// | |
| // test that <bitset> includes <string> and <iosfwd> | |
| template <class> void test_typedef() {} | |
| int main(int, char**) | |
| { | |
| { // test for <string> | |
| std::string s; ((void)s); | |
| } | |
| { // test for <iosfwd> | |
| test_typedef<std::ios>(); | |
| test_typedef<std::wios>(); | |
| test_typedef<std::istream>(); | |
| test_typedef<std::ostream>(); | |
| test_typedef<std::iostream>(); | |
| } | |
| return 0; | |
| } | |