Compile-time advances of the C++ standard template library. The C++ Standard Template Library is the flagship example for libraries based on the generic programming paradigm. The usage of this library is intended to minimize classical C/C++ errors, but does not warrant bug-free programs. Furthermore, many new kinds of errors may arise from the inaccurate use of the generic programming paradigm, like dereferencing invalid iterators or misunderstanding remove-like algorithms. Every standard container offers a template parameter in order to customize the memory management. Allocator types are accountable for allocation and deallocation of memory.par In this paper, we present some scenarios that may cause undefined or weird behaviour at runtime. These scenarios are related to allocators and reverse iterators. We emit warnings while these constructs are used without any modification in the compiler. We also present a general approach to emit “customized” warnings. We support the so-called believe-me marks in order to disable our specific warnings.

References in zbMATH (referenced in 59 articles , 2 standard articles )

Showing results 1 to 20 of 59.
Sorted by year (citations)

1 2 3 next

  1. Cuvelier, François; Japhet, Caroline; Scarella, Gilles: An efficient way to assemble finite element matrices in vector languages (2016)
  2. Horváth, Gábor; Pataki, Norbert: Clang matchers for verified usage of the C++ Standard Template Library (2015)
  3. Pauletti, M.Sebastian; Martinelli, Massimiliano; Cavallini, Nicola; Antolin, Pablo: Igatools: an isogeometric analysis library (2015)
  4. Silva, Ricardo M.A.; Silva, Diego M.; Resende, Mauricio G.C.; Mateus, Geraldo R.; Gonçalves, José F.; Festa, Paola: An edge-swap heuristic for generating spanning trees with minimum number of branch vertices (2014)
  5. Angelino, Elaine; Goodrich, Michael T.; Mitzenmacher, Michael; Thaler, Justin: External-memory multimaps (2013)
  6. Dohn, Anders; Mason, Andrew: Branch-and-price for staff rostering: an efficient implementation using generic programming and nested column generation (2013)
  7. Pataki, Norbert: C++ standard template library by ranges (2012)
  8. Pataki, Norbert: Compile-time advances of the C++ standard template library (2012)
  9. Tabatabaei, Seyed Salim; Coates, Mark; Rabbat, Michael: GANC: greedy agglomerative normalized cut for graph clustering (2012)
  10. Bourdev, Lubomir; Järvi, Jaakko: Efficient run-time dispatching in generic programming with minimal code bloat (2011)
  11. Heinzl, René; Schwaha, Philipp: A generic topology library (2011)
  12. Kozsik, Tamás; Pataki, Norbert; Szűgyi, Zalán: C++ standard template library by infinite iterators (2011)
  13. Pataki, Norbert: C++ Standard Template Library by safe functors (2011)
  14. Siek, Jeremy G.; Lumsdaine, Andrew: A language for generic programming in the large (2011)
  15. Bucksch, Alexander; Lindenbergh, Roderik; Menenti, Massimo: SkelTre. Robust skeleton extraction from imperfect point clouds (2010)
  16. Gast, Holger: Reasoning about memory layouts (2010)
  17. Gidenstam, Anders; Papatriantafilou, Marina; Tsigas, Philippas: NB malloc: Allocating memory in a lock-free manner (2010)
  18. Gil, Joseph (Yossi); Lenz, Keren: Simple and safe SQL queries with C++ templates (2010)
  19. Järvi, Jaakko; Freeman, John: C++ lambda expressions and closures (2010)
  20. Järvi, Jaakko; Marcus, Mat; Smith, Jacob N.: Programming with C++ concepts (2010)

1 2 3 next