Comments (1)
I managed to change the types correctly, but am still running into this error:
In instantiation of ‘std::tuple<long unsigned int, long unsigned int> BwTree::Tree<Key, Data>::getConsolidatedLeafData(BwTree::Node<Key, Data>, std::vector<BwTree::KeyValue<Key, Data> >&) [with Key = unsigned int; Data = unsigned int]’:
/home/mayank/Documents/BW-Trees/src/bwtree.cpp:1126:24: required from here
/home/mayank/Documents/BW-Trees/src/bwtree.cpp:874:42: error: use of deleted function ‘std::array<BwTree::KeyValue<unsigned int, unsigned int>, 100>::array()’
std::array<KeyValue<Key, Data>, 100> deltaInsertRecords;
^~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/7/tuple:39:0,
from /usr/include/c++/7/unordered_map:41,
from /home/mayank/Documents/BW-Trees/src/bwtree.cpp:1:
/usr/include/c++/7/array:94:12: note: ‘std::array<BwTree::KeyValue<unsigned int, unsigned int>, 100>::array()’ is implicitly deleted because the default definition would be ill-formed:
struct array
^~~~~
/usr/include/c++/7/array:94:12: error: no matching function for call to ‘BwTree::KeyValue<unsigned int, unsigned int>::KeyValue()’
In file included from /home/mayank/Documents/BW-Trees/src/bwtree.cpp:9:0:
/home/mayank/Documents/BW-Trees/src/nodes.hpp:52:9: note: candidate: BwTree::KeyValue<Key, Data>::KeyValue(const Key&, const Data const&) [with Key = unsigned int; Data = unsigned int]
KeyValue(const Key &key, const Data const & data) : key(key), data(data) { }
^~~~~~~~
/home/mayank/Documents/BW-Trees/src/nodes.hpp:52:9: note: candidate expects 2 arguments, 0 provided
/home/mayank/Documents/BW-Trees/src/nodes.hpp:48:12: note: candidate: constexpr BwTree::KeyValue<unsigned int, unsigned int>::KeyValue(const BwTree::KeyValue<unsigned int, unsigned int>&)
struct KeyValue {
^~~~~~~~
/home/mayank/Documents/BW-Trees/src/nodes.hpp:48:12: note: candidate expects 1 argument, 0 provided
/home/mayank/Documents/BW-Trees/src/bwtree.cpp: In instantiation of ‘std::tuple<long unsigned int, long unsigned int> BwTree::Tree<Key, Data>::getConsolidatedLeafData(BwTree::Node<Key, Data>, std::vector<BwTree::KeyValue<Key, Data> >&) [with Key = unsigned int; Data = long unsigned int]’:
from bwtree.
Related Issues (3)
- Which Platform? HOT 2
- Updating the mapping table HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bwtree.