Tags » MSTRKRFT

Check template class for existence of function

I want to check a provided template class for the existence of some methods at compile-time. Made-up example code:

template <class AudioSystem>
class Car {
public: 
  Car() {/*nothing related to AudioSystem*/}
  void getsCalledLater(AudioSystem* a) {/*...*/} 
  void Verify() { 
    // check if class AudioSystem has function double hasFeature(int, double)
    // check if class AudioSystem has function double getCreationDate() 
  }
  ~Car() {
    Verify();
  }
};
… 113 more words
Recent Questions - Stack Overflow

Death From Above 1979 - The Physical World (2014)

It seems like nostalgia has been overpowering modern culture lately. Ten year old movies are suddenly getting sequels greenlit, Tumblr expounds upon the joys of the original Pokemon series, and huge bands are reuniting to cash in for another round at the till. 599 more words

Album Reviews

Shoreditch bars are awash with the eighties, nostalgia

Shoreditch bars are awash with the eighties, nostalgia. Dreams of the thirty to forty year generations, dreams, broken dreams, broken promises, real emotion, longing, loving, never getting, confusion. 407 more words

Chromeo : 'Tenderoni' (MSTRKRFT remix)

There is Dance music.  And then there is dirty dance music.  This track is pure filth.

Punkflop