This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-net-gprs@lists.osmocom.org/.
Holger Freyther holger at freyther.de
> On 25 Feb 2016, at 18:21, Max <msuraev at sysmocom.de> wrote:
>
> I'm not familiar enough with c++ to claim that the constructor will always be called so I've left it just in case.
Then write yourself an example? e.g. something like this?
#include <iostream>
struct internalmember {
internalmember()
: m_v(-1)
{
std::cout << "internalmember called" << std::endl;
}
int m_v;
};
struct outerstruct {
outerstruct()
{
std::cout << "outerstruct called" << std::endl;
}
}
int main(int argc, char **argv)
{
outerstruct str;
return 0;
}