Research on the Multi Object Polymorphism in C++ Based on Display Management Overloaded Set

Article Preview

Abstract:

In C++, there exists static dispatching technique and dynamic dispatching technique. To move some dispatching at executive time up to compile time can reduce length of complied code and improve the overall running speed. We analyze the necessity of introducing static dispatching technique and those used commonly, and then we present a way to realize static dispatching technique by using enable if template group in Boost library non-intrusively explicitly to manage the overloaded set of template functions. More importantly, in this way, one could overload template functions by their return values.

You might also be interested in these eBooks

Info:

Periodical:

Pages:

1679-1682

Citation:

Online since:

November 2014

Authors:

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2014 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

* - Corresponding Author

[1] David Abrahams: C++ Template Metaprogramming. China Machine Press, 2010.

Google Scholar

[2] Andrei Alexandrescu: Modern C++ Design.Huazhong University of Science and Technology press, 2003.

Google Scholar

[3] Scott Meyers: Effective C++.Publishing House Of Electronics Industry, 2006.

Google Scholar

[4] Information on http: /www. boost. org.

Google Scholar

[5] David Vandervoode and Nicolai M. Josuttis: C++ Template: The Complete Guide, (2002).

Google Scholar

[6] Stanley B. Lippman: Inside The C++ Object. Huazhong University of Science and Technology press, (2001).

Google Scholar