Programming & Systems Guides
Empirical benchmarks and systems guides appear first, followed by the compiler and error-code reference archive. Browse by topic, jump to the error reference archive, or subscribe via RSS.
-
'std::string_view' Is Not a Member of 'std' Fix C++ · Error Reference
The error on a std::string_view name is, in GCC's actual wording inside a function, 'string_view' is not a member of 'std' - and at...
-
'std::stack' Is Not a Member of 'std' Fix C++ · Error Reference
The error on a std::stack name is, in GCC's actual wording inside a function, 'stack' is not a member of 'std' - with a note...
-
'std::regex' Is Not a Member of 'std' Fix C++ · Error Reference
The error on a std::regex name is, in GCC's actual wording inside a function, 'regex' is not a member of 'std' - and at namespace...
-
'std::priority_queue' Is Not a Member of 'std' Fix C++ · Error Reference
The error on a std::priority_queue name is, in GCC's actual wording inside a function, 'priority_queue' is not a member of 'std'...
-
'std::pair' Is Not a Member of 'std' Fix C++ · Error Reference
A C++ program that uses std::pair in a translation unit whose headers declare the std namespace without declaring pair fails with ''pair' is...
-
'std::list' Is Not a Member of 'std' Fix C++ · Error Reference
The error on a std::list name is, in GCC's actual wording inside a function, 'list' is not a member of 'std' - with a note attached...
-
'std::filesystem' Is Not a Member of 'std' Fix C++ · Error Reference
The error on a std::filesystem name - GCC wording inside a function is 'std::filesystem' has not been declared, and at namespace scope...
-
'std::chrono' Is Not a Member of 'std' Fix C++ · Error Reference
The error on a std::chrono name - GCC wording is 'std::chrono' has not been declared - fires in two shapes: the
header is missing... -
'std::bitset' Is Not a Member of 'std' Fix C++ · Error Reference
The error on a std::bitset name is, in GCC's actual wording inside a function, 'bitset' is not a member of 'std' - with a note...
-
'std::ranges::sort' Is Not a Member Fix C++ · Error Reference
A C++20 program that calls std::ranges::sort fails with ''sort' is not a member of 'std::ranges'' when the header that declares...
-
E0207 Unconstrained Type Parameter Fix Rust · Error Reference
Rust error E0207 - the type parameter is not constrained by the impl trait, self type, or predicates - fires when an impl declares a type, const, or...
-
E0793 Reference to Packed Field Fix Rust · Error Reference
Rust error E0793 - reference to field of packed struct is unaligned - fires when code takes a reference to a field of a #[repr(packed)] struct whose type...
-
E0027 Pattern Does Not Mention Fields Fix Rust · Error Reference
Rust error E0027 - pattern does not mention field - fires when a struct pattern leaves out a field the declaration has: let Point { x } = p; omits y from...
-
E0435 Non-Constant Value in Constant Fix Rust · Error Reference
Rust error E0435 - attempt to use a non-constant value in a constant - fires when a constant expression names something that is only known at run time: a...
-
E0601 No Main Function Found Fix Rust · Error Reference
Rust error E0601 - `main` function not found in crate - fires when a binary crate has no `main` function at its crate root: a file holding only a helper...
-
E0624 Method Is Private Fix Rust · Error Reference
Rust error E0624 - method is private - fires when code calls a method from outside the module that defines it: a call from the crate root and a call from an...
-
E0276 Impl Has Stricter Requirements Fix Rust · Error Reference
Rust error E0276 - impl has stricter requirements than trait - fires when a trait implementation adds a requirement the trait declaration does not have: a...
-
E0040 Explicit Destructor Call Fix Rust · Error Reference
Rust error E0040, explicit use of destructor method, means code called a value's Drop::drop method directly - as g.drop() or as Drop::drop(&mut g)...
-
E0533 Expected Value, Found Variant Fix Rust · Error Reference
Rust error E0533 has two headers. In value position - let shape = Shape::Circle; - it reads expected value, found struct variant, because a struct variant...
-
E0532 Expected Tuple Variant Fix Rust · Error Reference
Rust error E0532, expected unit struct, unit variant or constant, found tuple variant, means a pattern named a tuple variant as if it carried no data...
-
Unlock of Unlocked Mutex Panic Fix Go · Error Reference
Go's sync: unlock of unlocked mutex is a fatal error, not a panic: calling Unlock on a sync.Mutex that is not locked - never locked, or already unlocked...
-
Redeclared in This Block Fix Go · Error Reference
Go's `total redeclared in this block` error fires when one name is declared twice in the same block: two package-level `var total` lines in one file, or...
-
Import Cycle Not Allowed Fix Go · Error Reference
Go's 'import cycle not allowed' error fires when packages import each other in a loop: package a imports package b and package b imports...
-
Concurrent Map Writes Fatal Error Fix Go · Error Reference
Go's fatal error: concurrent map writes fires when two goroutines write to a plain map at the same time: maps are not safe for concurrent use, the...
-
Void Value Not Ignored Fix C++ · Error Reference
GCC reports 'void value not ignored as it ought to be' when code stores the result of a function that returns nothing. This guide reads the...
-
Terminate Called After Throwing Fix C++ · Error Reference
A C++ program prints 'terminate called after throwing an instance of ...' and aborts when an exception reaches a place no handler can catch it: out...
-
'std::variant' Is Not a Member of 'std' Fix C++ · Error Reference
A program that uses std::variant fails with ''variant' is not a member of 'std'' when the #include
line is... -
'std::span' Is Not a Member of 'std' Fix C++ · Error Reference
A C++20 program that uses std::span fails with ''span' is not a member of 'std'' when the #include line is missing...
-
'std::shared_ptr' Is Not a Member of 'std' Fix C++ · Error Reference
A C++ program that uses std::shared_ptr and std::make_shared with only
included fails with ''shared_ptr' is not a member of... -
'std::mutex' Is Not a Member of 'std' Fix C++ · Error Reference
A program that uses std::mutex fails with ''mutex' is not a member of 'std'' when the #include
line is missing...