On Thursday, 22 August 2013 at 23:10:40 UTC, anonymous wrote:
On Thursday, 22 August 2013 at 22:32:53 UTC, JS wrote:
On Thursday, 22 August 2013 at 21:07:27 UTC, Mariusz `shd`
Gliwiński wrote:
[...]
struct InnerC
{
void operate()
{
auto ptr = this-(void*).sizeof;
/* do something with point
On Thursday, 22 August 2013 at 22:32:53 UTC, JS wrote:
On Thursday, 22 August 2013 at 21:07:27 UTC, Mariusz `shd`
Gliwiński wrote:
[...]
struct InnerC
{
void operate()
{
auto ptr = this-(void*).sizeof;
/* do something with pointer */
}
}
struct Compound(Inner)
{
Inner a_or_b;
Inner
On Thursday, 22 August 2013 at 21:07:27 UTC, Mariusz `shd`
Gliwiński wrote:
Let me try to illustrate my question by following pseudo-code:
struct InnerA
{
/* .. */
void* ptr;
}
struct InnerB
{
/* .. */
void* ptr;
}
struct InnerC
{
void operate()
{
auto ptr = this-(void*).sizeof;
Let me try to illustrate my question by following pseudo-code:
struct InnerA
{
/* .. */
void* ptr;
}
struct InnerB
{
/* .. */
void* ptr;
}
struct InnerC
{
void operate()
{
auto ptr = this-(void*).sizeof;
/* do something with pointer */
}
}
struct Compound(Inner)
{
Inner