My Project
Loading...
Searching...
No Matches
gitfan Namespace Reference

Data Structures

class  facet
 
struct  facet_compare
 

Typedefs

typedef std::set< facet, facet_comparefacets
 

Functions

void mergeFacets (facets &F, const facets &newFacets)
 

Typedef Documentation

◆ facets

typedef std::set<facet,facet_compare> gitfan::facets

Definition at line 50 of file gitfan.h.

Function Documentation

◆ mergeFacets()

void gitfan::mergeFacets ( facets & F,
const facets & newFacets )

Definition at line 77 of file gitfan.cc.

78 {
79 std::pair<facets::iterator,bool> check(newFacets.begin(),false);
80 for(facets::iterator p=newFacets.begin(); p!=newFacets.end(); p++)
81 {
82 check = F.insert(*p);
83 if(!check.second)
84 F.erase(check.first);
85 }
86 }
int p
Definition cfModGcd.cc:4086
VAR int check
Definition libparse.cc:1106