User Tools

Site Tools


2013:generic_programming_in_c_a_modest_example

Back to proposals-2013

Title: Generic Programming in C++: A modest example
Proposer: marshall_clow
Type: Tutorial
Duration: 90 minutes
Description:
In this session, I will take a request from the boost mailing list: “Why doesn’t boost have hex/unhex functions, I think they would be useful” and walk through the design and implementation of these algorithms for the Boost.Algorithm library.

Although the functions are simple, there are a surprising number of interesting design decisions that were made along the way – and I will explore them in this talk.

Issues covered:

  • Generic programming design
  • Dealing with iterators (including the problems with output iterators)
  • Template metaprogramming (including enable_if)
  • Boost.Exception
  • Fit and polish of code.


Note: If you want a sense of the presentation, here is video (and slides) of an older version

Slides:
https://github.com/boostcon/cppnow_presentations_2012/blob/master/wed/marshall_generic_programming.pdf
Video:
http://www.youtube.com/watch?v=SWGMq0_X32Q

Roger: Yes
Asti: yes

2013/generic_programming_in_c_a_modest_example.txt · Last modified: 2016/06/11 14:05 by 127.0.0.1