Top "Linkage" questions

Linkage describes how names can or can not refer to the same entity throughout the entire program or a single unit.

Dependency Property dependent on another

How can one register a dependency property whose value is calculated using the value of another dependency property? Because the .…

wpf dependency-properties linkage
Can a variable be declared both static and extern?

Why the following doesn't compile? ... extern int i; static int i; ... but if you reverse the order, it compiles fine. ... …

c++ c linkage storage-class-specifier
Linkage of symbols within anonymous namespace within a regular namespace

In C++, putting a function or a variable in an anonymous namespace makes its linkage internal, i. e. the same …

c++ namespaces anonymous linkage
constexpr global constants in a header file and odr

Unfortunately, I am somewhat confused about constexpr, global constants declared in header files, and the odr. In short: Can we …

c++ c++11 language-lawyer constexpr linkage
Error in calling a static function in a namespace

I am getting the following error: x.h:3:13: warning: ‘int X::foo()’ used but never defined /tmp/ccK9qSnq.o: …

c++ linkage