SERVING THE QUANTITATIVE FINANCE COMMUNITY

 
User avatar
katastrofa
Posts: 7947
Joined: August 16th, 2007, 5:36 am
Location: Alpha Centauri

Re: Void, Monoids, Spheroids & Kawaguchi spaces

June 17th, 2019, 9:55 pm

If you * long into the void, the void ** into you.
 
User avatar
Cuchulainn
Posts: 59409
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Void, Monoids, Spheroids & Kawaguchi spaces

June 18th, 2019, 11:38 am

Image
 
User avatar
katastrofa
Posts: 7947
Joined: August 16th, 2007, 5:36 am
Location: Alpha Centauri

Re: Void, Monoids, Spheroids & Kawaguchi spaces

June 18th, 2019, 12:39 pm

Did Nietzsche have pointers in mind when he wrote that?
 
User avatar
Cuchulainn
Posts: 59409
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Void, Monoids, Spheroids & Kawaguchi spaces

June 18th, 2019, 4:39 pm

Did Nietzsche have pointers in mind when he wrote that?
It was Churchill, 1st Lord of the Admiralty. Carry on up the Dardanelles, what?
 
User avatar
Cuchulainn
Posts: 59409
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Void, Monoids, Spheroids & Kawaguchi spaces

June 18th, 2019, 8:19 pm

A singular void that is dissimilar from its application in C or C++
A Void
COM?
HRESULT __stdcall Option2::QueryInterface(const IID& iid, void** ppv)
{ 	
	if (iid == IID_IUnknown)
	{
	//	trace("Return pointer to IUnknown.");
		*ppv = static_cast<IOption2*>(this);
	} 
	else if (iid == IID_IOption2)
	{
		//trace("Return pointer to IOption2.");
		*ppv = static_cast<IOption2*>(this);
	}
	else
	{  	   
	//	trace("Interface not supported.");
		*ppv = NULL;
		return E_NOINTERFACE;
	}
	reinterpret_cast<IUnknown*>(*ppv)->AddRef(); 
	return S_OK;
}
ABOUT WILMOTT

PW by JB

Wilmott.com has been "Serving the Quantitative Finance Community" since 2001. Continued...


Twitter LinkedIn Instagram

JOBS BOARD

JOBS BOARD

Looking for a quant job, risk, algo trading,...? Browse jobs here...


GZIP: On