Articles tagged BGL

  1. Highlights aus der Boost Graph Library

    Template Programming to the Extreme… Manchmal macht es echt eine Freude den Quellcode der BGL (Boost Graph Library) zu lesen. Hier ein paar Highlights:

    1
    2
    3
    4
    5
    6
    
    typename T::ThereReallyIsNoMemberByThisNameInT vertices(T const&);
    
    // The graph is passed by *const* reference so that graph adaptors
    // (temporaries) can be passed into this function...
    Read more