Created
June 5, 2011 15:06
-
-
Save hadronized/1009035 to your computer and use it in GitHub Desktop.
;)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template <class Format, class Dispatch> | |
mesh<Format, Dispatch>::mesh(std::string const &name) : | |
resource< mesh<Format, Dispatch> >(name), | |
_nbIndices(0) { | |
} | |
// after a base_type idiom ... | |
template <class Format, class Dispatch> | |
mesh<Format, Dispatch>::mesh(std::string const &name) : | |
mesh::resource_base_type(name), // even mesh::base_type(name) :) | |
_nbIndices(0) { | |
} | |
// win :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment