Search code examples
What does it do to declare a variable with an assignment expression (`var a = b = c`)?...


javascriptassignment-operatorvariable-declaration

Read More
How does assignment chaining (as in `a = b = ...`) work?...


javascriptassignment-operator

Read More
Why is `foo += a || b` not equivalent to `foo = foo + a || b`?...


javascriptoperator-precedenceassignment-operatoraugmented-assignment

Read More
Why is assigning to a function call expression valid syntax?...


javascriptsyntaxassignment-operator

Read More
Why can’t I use a unary operator in a chained assignment, but only in separate assignment statements...


javascriptlanguage-lawyeroperator-precedenceassignment-operator

Read More
What do square brackets mean on the left-hand side of variable assignment (`[ (…) ] = (…)`)?...


javascriptdestructuringassignment-operator

Read More
How to have the Xcode 3.1 compiler warn of assignment operator in an if statement?...


xcodeif-statementcompiler-warningsassignment-operator

Read More
Expressions in C. Are assignments expressions despite semicolons?...


coperatorsexpressionassignment-operatorstatements

Read More
C++: Inheriting the const assignment operator defined in the base class for the derived type...


c++templatesinheritanceassignment-operator

Read More
Overload resolution for copy assignment operator...


c++language-lawyerassignment-operatorc++23explicit-object-parameter

Read More
Does QChar have a '=' operator?...


c++qtassignment-operatorqchar

Read More
I can't assign my desired value to a variable properly in python...


pythonnumpyvariablesvariable-assignmentassignment-operator

Read More
What is the difference between equal (=) and curly braces ({}) on C++ assignments?...


c++variable-assignmentassignassignment-operatorcurly-braces

Read More
Is one side of an assignment sequenced before the other?...


c++assignment-operatororder-of-executionsequence-points

Read More
Any good reason why assignment operator isn't a sequence point?...


c++clanguage-designassignment-operatorsequence-points

Read More
Is assignment operator a sequence point under C++17? and what would be the result of this expression...


c++c++17assignment-operatorsequence-points

Read More
Multiple assignment and evaluation order in Python...


pythonvariable-assignmentassignment-operatormultiple-assignment

Read More
Is it possible to write a common function that handles both the copy constructor and copy assignment...


c++variable-assignmentcopy-constructorassignment-operatorc++-faq

Read More
hard-to-understand error in an augmented assignment statement in Kotlin...


kotlinassignment-operator

Read More
How to generalize a struct to an int with the assignment operator?...


c++structassignment-operator

Read More
dollar sign $ as an assignment operator for a value of string in vs code ( js ) does not work or hig...


javascriptstringvariablesvariable-assignmentassignment-operator

Read More
using memcpy for copy constructor and assignment operator for 2d array...


c++copy-constructormemcpyassignment-operator

Read More
Is there a reverse logical nullish assignment?...


javascriptconditional-operatorassignment-operatornullish-coalescing

Read More
Why don't Java's +=, -=, *=, /= compound assignment operators require casting?...


javacastingoperatorsvariable-assignmentassignment-operator

Read More
Number raised to 2, 3, and 4...


c++operatorsvariable-assignmentassignment-operatorcompound-assignment

Read More
Do you always have to define a copy assignment operator when a copy constructor is defined?...


c++copy-constructorassignment-operatorrule-of-three

Read More
When assigning A=B, does this call A's or B's assignment operator?...


c++copy-constructorassignment-operator

Read More
Why are the conditions for an implicitly-defined move constructor/assignment operator different than...


c++c++11constructorlanguage-designassignment-operator

Read More
Are there drawbacks to calling the assignment operator in the copy constructor?...


c++copy-constructorassignment-operator

Read More
How to make operator= accept derivatives of parameter like operator+?...


c++polymorphismoperator-overloadingassignment-operatoroverload-resolution

Read More
BackNext