Compare commits
No commits in common. "27e18b5a9cba64bfafe1dd21bcf30ae5dbea6186" and "1ee80f7510bb4e6a4298d4a350d9382479d9b532" have entirely different histories.
27e18b5a9c
...
1ee80f7510
2
libs/BLT
2
libs/BLT
|
@ -1 +1 @@
|
||||||
Subproject commit 392c32751da3f23644990581fda9fe59ec603de2
|
Subproject commit 0b6b6aed9b1fa2428bd665a72149f21f9e0e5d0d
|
|
@ -135,29 +135,21 @@ namespace fb
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class flat_tree
|
class flat_tree
|
||||||
{
|
{
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename ARG_TYPE>
|
struct node_container
|
||||||
struct operator_t
|
|
||||||
{
|
{
|
||||||
private:
|
[[nodiscard]] constexpr arg_count_t argCount() const
|
||||||
arg_count_t argc;
|
{ return 0; }
|
||||||
std::function<ARG_TYPE(blt::span<ARG_TYPE>)> func;
|
|
||||||
blt::vector<operator_t<ARG_TYPE>> allowed_inputs;
|
[[nodiscard]] static inline constexpr arg_count_t determine_max_argc()
|
||||||
public:
|
{
|
||||||
operator_t(arg_count_t argc, std::function<ARG_TYPE(blt::span<ARG_TYPE>)> func): argc(argc), func(std::move(func))
|
return 2;
|
||||||
{}
|
}
|
||||||
|
|
||||||
[[nodiscard]] constexpr arg_count_t argCount() const
|
|
||||||
{ return argc; }
|
|
||||||
|
|
||||||
[[nodiscard]] constexpr std::function<ARG_TYPE(blt::span<ARG_TYPE>)> function() const
|
|
||||||
{ return func; }
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename NODE_CONTAINER, typename ALLOC>
|
template<typename NODE_CONTAINER, typename ALLOC>
|
||||||
|
|
Loading…
Reference in New Issue