Explanation of [[nodiscard]] in C++17...
Read MoreWhy clang-tidy suggests to add [[nodiscard]] everywhere?...
Read MoreHow can I intentionally discard a [[nodiscard]] return value?...
Read MoreWhat are the common practices and considerations for using the [[nodiscard]] attribute in C++ code?...
Read MoreWhy not apply [[nodiscard]] to every constructor?...
Read MoreWhy is the C++ standard library Container function empty() marked as [[nodiscard]]?...
Read MoreIs there any benefit to tagging my class's constructor(s) as [[nodiscard]] when the class itself...
Read MoreImplicit [[nodiscard]] for all const-tagged methods?...
Read MoreIs [[nodiscard]] any different from [[gnu::warn_unused_result]]?...
Read MoreIs it possible to ignore [[nodiscard]] in a special case?...
Read More[[nodiscard]] attribute different compilation result for GCC and Clang...
Read More[[nodiscard]] to a function pointer...
Read MoreDoes GCC 7.3 omit the [[nodiscard]] attribute for reference returning member functions?...
Read MoreAre new C++17 [[nodiscard]] warnings since Visual Studio 15.6.2 compiler update standards-compliant?...
Read MoreIs it right to use static_cast<void> to ignore iterator as return value?...
Read MoreWhy does [[nodiscard]] only encourage compiler to issue a warning and does not require it?...
Read MoreCan I declare a type [[nodiscard]] with 'using'?...
Read MoreIs nodiscard necessary on operators?...
Read MoreWays to specify [[nodiscard]] before C++17...
Read MoreWhy is unique_ptr::release not defined with [[nodiscard]]?...
Read MoreTemplate parameter dependant [[nodiscard]]...
Read MoreTrying out [[nodiscard]] with no success...
Read Morewarning C5240: 'nodiscard': attribute is ignored in this syntactic position...
Read MoreWhat is the rationale behind having [[nodiscard]] types?...
Read MoreWhy is std::move not [[nodiscard]] in C++20?...
Read More