Journal Articles

Overload Journal #126 - April 2015 and Programming Topics
Browse in : All > Journals > Overload > o126 (7)
All > Topics > Programming (877)
Any of these categories
Options:
View Article Map
View Archives

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

Alternatives to Singletons and Global Variables

Martin Moene

05 April 2015 18:53:03 +01:00

Global variables and Singletons are usually considered bad. Bob Schmidt summarises some alternatives.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

Resource Management with Explicit Template Specializations

Martin Moene

04 April 2015 20:04:18 +01:00

RAII is a useful idiom. Pavel Frolov presents a powerful extension using explicit template specialization.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

Variadic and Variable Templates

Martin Moene

03 April 2015 20:08:15 +01:00

C++11 and 14 offer new features for Variadic and Variable templates. Peter Sommerlad showcases the compile-time possibilities they offer.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

iterator_pair – A Simple and Useful Iterator Adapter

Martin Moene

02 April 2015 20:11:25 +01:00

Can you form a new contain from two others? Vladimir Grigoriev reminds us how to write an iterator.

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

Seeing the Wood for the Trees

Martin Moene

01 April 2015 20:13:53 +01:00

The outdoors is fabled to be great. Teedy Deigh suggests your code reflects your environment without ever having to look out of the window.