Lines Matching refs:std
54 //! please, such as Rust's `String` or C++'s `std::string`, Rust's `Box` or
55 //! C++'s `std::unique_ptr`, Rust's `Vec` or C++'s `std::vector`, etc in any
254 //! .flag_if_supported("-std=c++11")
336 //! <tr><td><a href="struct.CxxString.html">CxxString</a></td><td>std::string</td><td><sup><i>cannot be passed by value</i></sup></td></tr>
338 //! <tr><td><a href="struct.UniquePtr.html">UniquePtr<T></a></td><td>std::unique_ptr<T></td><td><sup><i>cannot hold opaque Rust type</i></sup></td></tr>
339 //! <tr><td><a href="struct.SharedPtr.html">SharedPtr<T></a></td><td>std::shared_ptr<T></td><td><sup><i>cannot hold opaque Rust type</i></sup></td></tr>
340 //! <tr><td>[T; N]</td><td>std::array<T, N></td><td><sup><i>cannot hold opaque C++ type</i></sup></td></tr>
342 //! <tr><td><a href="struct.CxxVector.html">CxxVector<T></a></td><td>std::vector<T></td><td><sup><i>cannot be passed by value, cannot hold opaque Rust type</i></sup></td></tr>
362 //! <tr><td><sup><i>tbd</i></sup></td><td>std::map<K, V></td></tr>
363 //! <tr><td><sup><i>tbd</i></sup></td><td>std::unordered_map<K, V></td></tr>
416 #[cfg(feature = "std")]
418 pub extern crate std;
422 #[cfg(not(feature = "std"))]
423 extern crate core as std;
427 r#"cxx support for no_alloc is incomplete and semver exempt; you must build with at least one of feature="std", feature="alloc", or RUSTFLAGS='--cfg cxx_experimental_no_alloc'"#
435 #[cfg(all(compile_error_if_std, feature = "std"))]
437 r#"feature="std" is unexpectedly enabled"#