Research on the Static Dispatching 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:

2648-2651

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] D. Abrahams: C++ Template Metaprogramming (China Machine Press, China 2010), pp.153-155.

Google Scholar

[2] A. Alexandrescu: Modern C++ Desig (Huazhong University of Science and Technology Press, China 2003), pp.64-74.

Google Scholar

[3] D. Vandevoorde and N. M. Josuttis: C++ template Chinese version (Posts & Telecom Press, 2004).

Google Scholar

[4] H. Schildt: The Complete Rerference in C++ (Tsinghua University Press).

Google Scholar

[5] P. J. Plauger and A. A. Stepanov: C++ STL Chinese version (China Electric Power Press, 2002).

Google Scholar

[6] J. Blanchette and M. Summerfield: C++ GUI Programming with Qt 4 (Electronics Industry Press, 2008).

Google Scholar

[7] Z. J. Ye: C++ STL Programming Tutorials (Posts & Telecom Press, 2007).

Google Scholar

[8] M. H. Austern: Generic Programming and the STL (China Electric Power Press, 2003).

Google Scholar

[9] A. Koenig and B. Moo: Ruminations on C++ (Posts & Telecom Press, 2008).

Google Scholar