aboutsummaryrefslogtreecommitdiff
path: root/src/container.cpp
blob: d906f1e2aa8d6eacc9b3b3bc3d0cde773e2aea42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "yacppdic/container.hpp"

#include "yacppdic/detail/internal/wrapper/function_wrapper.hpp"
#include "yacppdic/detail/internal/wrapper/object_wrapper.hpp"

namespace yacppdic
{

void Container::add(
	BaseObjectType type,
	const WrapperPtr<IGenericWrapper> &wrapper
) noexcept
{
	_bindings.insert({ type, wrapper });
}

} // namespace yacppdic