S
scl
two class with same name exist in different dynamic linked library:
a.so
class REGION() {
public:
....
~REGION() {}
}
b.so
class REGION() {
public:
....
~REGION() {}
}
this breaks ODR ?
my problem is that a.so's ~REGION be linked to b.so's ~REGION
defination. moving the defination of ~REGION in a.so to a .cxx, wrongly
linked reverse (why not inline ~REGION()?)
thanks
a.so
class REGION() {
public:
....
~REGION() {}
}
b.so
class REGION() {
public:
....
~REGION() {}
}
this breaks ODR ?
my problem is that a.so's ~REGION be linked to b.so's ~REGION
defination. moving the defination of ~REGION in a.so to a .cxx, wrongly
linked reverse (why not inline ~REGION()?)
thanks