mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Foam::name() of memory address
- returns the memory address formatted in hexadecimal, which can be useful for detailed information
This commit is contained in:
committed by
Andrew Heather
parent
3870b1d43c
commit
3c07a1bb6f
@ -78,8 +78,8 @@ int main()
|
||||
|
||||
Info
|
||||
<< "\nVerify memory addesses are identical:" << nl
|
||||
<< "macro " << uintptr_t(Foam::FOAMversion) << nl
|
||||
<< "namespace " << uintptr_t(&(foamVersion::version[0])) << nl;
|
||||
<< "macro " << name(Foam::FOAMversion) << nl
|
||||
<< "namespace " << name(&(foamVersion::version[0])) << nl;
|
||||
|
||||
|
||||
// Test extraction
|
||||
|
||||
Reference in New Issue
Block a user