Changeset 55d6223 in mainline


Ignore:
Timestamp:
2018-07-05T21:41:22Z (6 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
adb7dfe1
Parents:
0893dd23
git-author:
Dzejrou <dzejrou@…> (2018-04-30 21:20:21)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:22)
Message:

cpp: added missing include guards, fixed formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/impl/set.hpp

    r0893dd23 r55d6223  
    2727 */
    2828
     29#ifndef LIBCPP_SET
     30#define LIBCPP_SET
     31
    2932#include <functional>
    3033#include <internal/rbtree.hpp>
     
    336339            }
    337340
    338             template<
    339                 class K
    340             >
     341            template<class K>
    341342            iterator find(
    342343                enable_if_t<aux::is_transparent_v<key_compare>, const K&> key
     
    346347            }
    347348
    348             template<
    349                 class K
    350             >
     349            template<class K>
    351350            const_iterator find(
    352351                enable_if_t<aux::is_transparent_v<key_compare>, const K&> key
     
    361360            }
    362361
    363             template<
    364                 class K
    365             >
     362            template<class K>
    366363            size_type count(
    367364                enable_if_t<aux::is_transparent_v<key_compare>, const K&> key
     
    381378            }
    382379
    383             template<
    384                 class K
    385             >
     380            template<class K>
    386381            iterator lower_bound(
    387382                enable_if_t<aux::is_transparent_v<key_compare>, const K&> key
     
    391386            }
    392387
    393             template<
    394                 class K
    395             >
     388            template<class K>
    396389            const_iterator lower_bound(
    397390                enable_if_t<aux::is_transparent_v<key_compare>, const K&> key
     
    411404            }
    412405
    413             template<
    414                 class K
    415             >
     406            template<class K>
    416407            iterator upper_bound(
    417408                enable_if_t<aux::is_transparent_v<key_compare>, const K&> key
     
    421412            }
    422413
    423             template<
    424                 class K
    425             >
     414            template<class K>
    426415            const_iterator upper_bound(
    427416                enable_if_t<aux::is_transparent_v<key_compare>, const K&> key
     
    441430            }
    442431
    443             template<
    444                 class K
    445             >
     432            template<class K>
    446433            pair<iterator, iterator> equal_range(
    447434                enable_if_t<aux::is_transparent_v<key_compare>, const K&> key
     
    451438            }
    452439
    453             template<
    454                 class K
    455             >
     440            template<class K>
    456441            pair<const_iterator, const_iterator> equal_range(
    457442                enable_if_t<aux::is_transparent_v<key_compare>, const K&> key
     
    992977    }
    993978}
     979
     980#endif
Note: See TracChangeset for help on using the changeset viewer.