File: set.cpp

package info (click to toggle)
easyloggingpp 9.97.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,840 kB
  • sloc: cpp: 11,415; python: 2,336; sh: 337; makefile: 29
file content (18 lines) | stat: -rw-r--r-- 327 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <boost/container/set.hpp>
#include <boost/container/flat_set.hpp>

#include "easylogging++.h"

INITIALIZE_EASYLOGGINGPP

int main(void) {
   boost::container::set<int> s;
   s.insert(4);
   s.insert(5);
   LOG(INFO) << s;

   boost::container::flat_set<int> fs;
   fs.insert(1);
   fs.insert(2);
   LOG(INFO) << fs;
}