This repository has been archived by the owner on Dec 29, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from pmconrad/master
Update + Boost-compatibility (1.61+1.62)
- Loading branch information
Showing
151 changed files
with
15,229 additions
and
25,759 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
[submodule "vendor/diff-match-patch-cpp-stl"] | ||
path = vendor/diff-match-patch-cpp-stl | ||
url = https://github.com/leutloff/diff-match-patch-cpp-stl | ||
[submodule "vendor/websocketpp"] | ||
path = vendor/websocketpp | ||
url = https://github.com/zaphoyd/websocketpp.git | ||
[submodule "vendor/secp256k1-zkp"] | ||
path = vendor/secp256k1-zkp | ||
url = https://github.com/cryptonomex/secp256k1-zkp.git | ||
[submodule "vendor/websocketpp"] | ||
path = vendor/websocketpp | ||
url = https://github.com/zaphoyd/websocketpp.git | ||
[submodule "vendor/diff-match-patch-cpp-stl"] | ||
path = vendor/diff-match-patch-cpp-stl | ||
url = https://github.com/leutloff/diff-match-patch-cpp-stl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,29 @@ | ||
#pragma once | ||
#include <boost/container/flat_map.hpp> | ||
#include <boost/container/flat_set.hpp> | ||
#include <boost/interprocess/containers/vector.hpp> | ||
|
||
namespace fc { | ||
|
||
using boost::container::flat_map; | ||
using boost::container::flat_set; | ||
namespace bip = boost::interprocess; | ||
|
||
namespace raw { | ||
template<typename Stream, typename T> | ||
void pack( Stream& s, const flat_set<T>& value ); | ||
template<typename Stream, typename T> | ||
void unpack( Stream& s, flat_set<T>& value ); | ||
template<typename Stream, typename K, typename V> | ||
void pack( Stream& s, const flat_map<K,V>& value ); | ||
template<typename Stream, typename K, typename V> | ||
void unpack( Stream& s, flat_map<K,V>& value ) ; | ||
template<typename Stream, typename K, typename... V> | ||
void pack( Stream& s, const flat_map<K,V...>& value ); | ||
template<typename Stream, typename K, typename... V> | ||
void unpack( Stream& s, flat_map<K,V...>& value ) ; | ||
|
||
|
||
template<typename Stream, typename T, typename A> | ||
void pack( Stream& s, const bip::vector<T,A>& value ); | ||
template<typename Stream, typename T, typename A> | ||
void unpack( Stream& s, bip::vector<T,A>& value ); | ||
} // namespace raw | ||
|
||
} // fc |
Oops, something went wrong.