lemon/core.h
changeset 1154 9b4503108cc0
parent 1123 18c89646185e
child 1197 f179aa1045a4
equal deleted inserted replaced
44:cb5873d4e3fe 45:225697152e4c
    17  */
    17  */
    18 
    18 
    19 #ifndef LEMON_CORE_H
    19 #ifndef LEMON_CORE_H
    20 #define LEMON_CORE_H
    20 #define LEMON_CORE_H
    21 
    21 
    22 #include <vector>
    22 ///\file
    23 #include <algorithm>
    23 ///\brief LEMON core utilities.
    24 
    24 ///
    25 #include <lemon/config.h>
    25 ///This header file contains core utilities for LEMON.
    26 #include <lemon/bits/enable_if.h>
    26 ///It is automatically included by all graph types, therefore it usually
    27 #include <lemon/bits/traits.h>
    27 ///do not have to be included directly.
    28 #include <lemon/assert.h>
       
    29 
    28 
    30 // Disable the following warnings when compiling with MSVC:
    29 // Disable the following warnings when compiling with MSVC:
    31 // C4250: 'class1' : inherits 'class2::member' via dominance
    30 // C4250: 'class1' : inherits 'class2::member' via dominance
    32 // C4267: conversion from 'size_t' to 'type', possible loss of data
    31 // C4267: conversion from 'size_t' to 'type', possible loss of data
    33 // C4355: 'this' : used in base member initializer list
    32 // C4355: 'this' : used in base member initializer list
    41 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)
    40 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)
    42 // Needed by the [DI]GRAPH_TYPEDEFS marcos for gcc 4.8
    41 // Needed by the [DI]GRAPH_TYPEDEFS marcos for gcc 4.8
    43 #pragma GCC diagnostic ignored "-Wunused-local-typedefs"
    42 #pragma GCC diagnostic ignored "-Wunused-local-typedefs"
    44 #endif
    43 #endif
    45 
    44 
    46 ///\file
    45 #include <vector>
    47 ///\brief LEMON core utilities.
    46 #include <algorithm>
    48 ///
    47 
    49 ///This header file contains core utilities for LEMON.
    48 #include <lemon/config.h>
    50 ///It is automatically included by all graph types, therefore it usually
    49 #include <lemon/bits/enable_if.h>
    51 ///do not have to be included directly.
    50 #include <lemon/bits/traits.h>
       
    51 #include <lemon/assert.h>
       
    52 
       
    53 
    52 
    54 
    53 namespace lemon {
    55 namespace lemon {
    54 
    56 
    55   /// \brief Dummy type to make it easier to create invalid iterators.
    57   /// \brief Dummy type to make it easier to create invalid iterators.
    56   ///
    58   ///