encfs/vendor/github.com/muflihun/easyloggingpp/samples/boost/map.cpp
Valient Gough 5f0806c5cc Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master"
git-vendor-name: easylogging
git-vendor-dir: vendor/github.com/muflihun/easyloggingpp
git-vendor-repository: https://github.com/muflihun/easyloggingpp
git-vendor-ref: master
2017-08-05 23:23:41 -07:00

19 lines
343 B
C++

#include <boost/container/map.hpp>
#include <boost/container/flat_map.hpp>
#include "easylogging++.h"
INITIALIZE_EASYLOGGINGPP
int main(void) {
boost::container::map<int, float> m;
m[0] = 1.0f;
m[5] = 3.3f;
LOG(INFO) << m;
boost::container::flat_map<int, float> fm;
fm[1] = 2.5f;
fm[2] = 5.0f;
LOG(INFO) << fm;
}