Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in nodiscard

Is there any benefit to tagging my class's constructor(s) as [[nodiscard]] when the class itself is tagged as [[nodiscard]]?

Is [[nodiscard]] any different from [[gnu::warn_unused_result]]?

nodiscard attribute in C#

c# attributes nodiscard

[[nodiscard]] attribute different compilation result for GCC and Clang

c++ gcc c++17 clang nodiscard

Can I declare a type [[nodiscard]] with 'using'?

c++ c++17 nodiscard

Are new C++17 [[nodiscard]] warnings since Visual Studio 15.6.2 compiler update standards-compliant?

Why clang-tidy suggests to add [[nodiscard]] everywhere?

c++ clang clang-tidy nodiscard

Template parameter dependant [[nodiscard]]

c++ attributes c++17 nodiscard

[[nodiscard]] in std::function return type definition?

c++ c++17 std nodiscard

Why is unique_ptr::release not defined with [[nodiscard]]?

c++ unique-ptr nodiscard

Is it possible to ignore [[nodiscard]] in a special case?

c++ c++17 nodiscard

warning C5240: 'nodiscard': attribute is ignored in this syntactic position

Ways to specify [[nodiscard]] before C++17

c++ nodiscard

How can I intentionally discard a [[nodiscard]] return value?

c++ c++17 nodiscard

Why is std::move not [[nodiscard]] in C++20?