fork(1) download
  1. #include <map>
  2. #include <functional>
  3.  
  4. int main()
  5. {
  6. bool Side = true;
  7. using mymap = std::map<long,long,std::function<bool(long,long)>>;
  8. auto m = Side ? mymap( std::less<long>() ) : mymap( std::greater<long>() );
  9. }
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
Standard output is empty