(&constRef == &mutableString); assert(&std::as_const(mutableString) == &mutableString); using ExprType = std::remove_reference_t<decltype(std::as_const(mutableString))>; static_assert(std::is_same_v<std::remove_const_t<ExprType>, std::string>, "ExprType should be some kind of ...
Rectifying constant iterators, sentinels, and ranges, that is, ranges::cbegin and other similar utilities returning constant iterators should be fully guaranteed even for shallow-const views (such as std::span) (P2278R4) Making multi-param constructors of some views explicit (P2711R1) ...
propagate_const−ostream_joiner−randint observer_ptr−Detection idiom Standard library extensions v3(library fundamentals TS v3) scope_exit−scope_fail−scope_success−unique_resource Parallelism library extensions v2 (parallelism TS v2)
1) /*possibly-const-range*/ 在是深 const 范围时返回 const 限定的范围 r;否则,返回不进行任何转型的 r。 2) /*as-const-pointer*/ 返回常量类型对象的指针。 范围适配器辅助模板 template< class F, class Tuple > constexpr auto /*tuple-transform*/( F&& f, Tuple&& tuple ) { return std::ap...
Enlaces externos − Bibliotecas no ANSI/ISO − Índice − Índice de símbolos Novedades 2025 biblioteca de rangos (en curso), biblioteca de iteradores (en curso) Obtenido de «https://es.cppreference.com/mwiki/index.php?title=Página_principal&oldid=44663» Navegación...
常量表达式迭代器 (ConstexprIterator) ;std::array 的constexpr 比较;其他的 constexpr(std::array::fill 等) 201811L (C++20) P0858R0LWG3257P1023R0P1032R1 __cpp_lib_as_const std::as_const 201510L (C++17) P0007R1 __cpp_lib_associative_heterogeneous_erasure 关联容器和无序关联容器的异质...
Same as rvalue (below). A prvalue cannot be polymorphic: the dynamic type of the object it identifies is always the type of the expression. (纯右值不能是动态类型) A non-class non-array prvalue cannot be cv-qualified. (不是class也不是数组的纯右值不能声明为const, volatile, const-volatil...
_traits >, std::allocator<std::basic_string_view<char, std::char_traits > > >, std::basic_string_view<char, std::char_traits >, false>::operator()(absl::strings_internal::Splitter<absl::ByChar, absl::SkipEmpty, std::basic_string_view<char, std::char_traits > > const&) const'...
constAws::String&GetS3Uri() const boolS3UriHasBeenSet() const template<typename S3UriT = Aws::String> voidSetS3Uri(S3UriT &&value) template<typename S3UriT = Aws::String> DatasetEntityRecognizerDocuments&WithS3Uri(S3UriT &&value) InputFormatGetInputFormat() const ...
bool Aws::GuardDuty::Model::CloudTrailConfigurationResult::StatusHasBeenSet()const inline Describes whether CloudTrail is enabled as a data source for the detector. Definition at line47of fileCloudTrailConfigurationResult.h. CloudTrailConfigurationResult& Aws::GuardDuty::Model::CloudTrailConfigurationResult:...