dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #09126
Use of inline in .cpp files
According to:
http://www.parashift.com/c++-faq-lite/inline-functions.html
Point 9.7:
"It's usually imperative that the function's definition (the part between the
{...}) be placed in a header file. If you put the inline function's definition
into a .cpp file, and if it is called from some other .cpp file, you'll get an
"unresolved external" error from the linker."
This is currently done in MTL4Matrix. The result is a broken pydolfin build.
Ola
Follow ups