Skip to content

Commit

Permalink
add example_nlp.cpp btree.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
djmott committed Jul 26, 2016
1 parent 3d293fe commit 667eed6
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ build_example(dynamic_library)
build_example(event_trace)
build_example(exception)
build_example(logging)
build_example(nlp)
build_example(parse1)
build_example(parse2)
build_example(string)
Expand Down
10 changes: 10 additions & 0 deletions examples/example_nlp.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/**
* @copyright David Mott (c) 2016. Distributed under the Boost Software License Version 1.0. See LICENSE.md or http://boost.org/LICENSE_1_0.txt for details.
*/

#include <xtd/xtd.hpp>

int main(){
INFO("Hello?");
return 0;
}
20 changes: 20 additions & 0 deletions include/xtd/btree.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/** @file
STL-ish map using on disk b-tree
@copyright David Mott (c) 2016. Distributed under the Boost Software License Version 1.0. See LICENSE.md or http://boost.org/LICENSE_1_0.txt for details.
*/


namespace xtd{
template <typename _KeyT, typename _ValueT> class btree{

public:
using key_type = _KeyT;
using value_type = _ValueT;

bool insert(const key_type& key, const value_type& value){

}


};
}
5 changes: 5 additions & 0 deletions include/xtd/nlp/nlp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ natural language processing
@copyright David Mott (c) 2016. Distributed under the Boost Software License Version 1.0. See LICENSE.md or http://boost.org/LICENSE_1_0.txt for details.
*/

namespace xtd{
namespace nlp{

}
}

0 comments on commit 667eed6

Please sign in to comment.