<commit_before>#ifndef SILICIUM_PTR_ADAPTOR_HPP
#define SILICIUM_PTR_ADAPTOR_HPP

#include <silicium/config.hpp>
#include <boost/core/explicit_operator_bool.hpp>

namespace Si
{
	template <class Pointee>
	struct ptr_adaptor
	{
		ptr_adaptor()
		{
		}

		template <class ...Args>
		explicit ptr_adaptor(Args &&...args)
			: m_value(std::forward<Args>(args)...)
		{
		}

		Pointee &operator *() BOOST_NOEXCEPT
		{
			return m_value;
		}

		Pointee *operator ->() BOOST_NOEXCEPT
		{
			return &m_value;
		}

		bool operator !() const BOOST_NOEXCEPT
		{
			return false;
		}

		BOOST_EXPLICIT_OPERATOR_BOOL_NOEXCEPT()

	private:

		Pointee m_value;
	};

	template <class Pointee>
	auto make_ptr_adaptor(Pointee &&value)
	{
		return ptr_adaptor<typename std::decay<Pointee>::type>(std::forward<Pointee>(value));
	}
}

#endif
<commit_msg>remove redundant default constructor from ptr_adaptor<commit_after>#ifndef SILICIUM_PTR_ADAPTOR_HPP
#define SILICIUM_PTR_ADAPTOR_HPP

#include <silicium/config.hpp>
#include <boost/core/explicit_operator_bool.hpp>

namespace Si
{
	template <class Pointee>
	struct ptr_adaptor
	{
		template <class ...Args>
		explicit ptr_adaptor(Args &&...args)
			: m_value(std::forward<Args>(args)...)
		{
		}

		Pointee &operator *() BOOST_NOEXCEPT
		{
			return m_value;
		}

		Pointee *operator ->() BOOST_NOEXCEPT
		{
			return &m_value;
		}

		bool operator !() const BOOST_NOEXCEPT
		{
			return false;
		}

		BOOST_EXPLICIT_OPERATOR_BOOL_NOEXCEPT()

	private:

		Pointee m_value;
	};

	template <class Pointee>
	auto make_ptr_adaptor(Pointee &&value)
	{
		return ptr_adaptor<typename std::decay<Pointee>::type>(std::forward<Pointee>(value));
	}
}

#endif

{'fraction_non_alphanumeric': 0.12269207861822513, 'fraction_numerical': 0.0, 'mean_word_length': 4.384615384615385, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3709829', 'n_tokens_mistral': 752, 'n_tokens_neox': 649, 'n_words': 110}