<commit_before>/**
 * \file
 * \brief QueueFunctor class header
 *
 * \author Copyright (C) 2015 <NAME> http://www.distortec.com http://www.freddiechopin.info
 *
 * \par License
 * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not
 * distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * \date 2015-01-19
 */

#ifndef INCLUDE_DISTORTOS_SYNCHRONIZATION_QUEUEFUNCTOR_HPP_
#define INCLUDE_DISTORTOS_SYNCHRONIZATION_QUEUEFUNCTOR_HPP_

#include "distortos/estd/TypeErasedFunctor.hpp"

namespace distortos
{

namespace synchronization
{

/**
 * \brief QueueFunctor is a type-erased interface for functors which execute some action on queue's storage (like
 * copy-constructing, swapping, destroying, emplacing, ...).
 *
 * The functor will be called by queue internals with one argument - \a storage - which is a pointer to storage with/for
 * element
 */

using QueueFunctor = estd::TypeErasedFunctor<void(void*)>;

}	// namespace synchronization

}	// namespace distortos
<commit_msg>QueueFunctor: implement it as proper class instead of type alias<commit_after>/**
 * \file
 * \brief QueueFunctor class header
 *
 * \author Copyright (C) 2015 <NAME> http://www.distortec.com http://www.freddiechopin.info
 *
 * \par License
 * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not
 * distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * \date 2015-07-09
 */

#ifndef INCLUDE_DISTORTOS_SYNCHRONIZATION_QUEUEFUNCTOR_HPP_
#define INCLUDE_DISTORTOS_SYNCHRONIZATION_QUEUEFUNCTOR_HPP_

#include "distortos/estd/TypeErasedFunctor.hpp"

namespace distortos
{

namespace synchronization
{

/**
 * \brief QueueFunctor is a type-erased interface for functors which execute some action on queue's storage (like
 * copy-constructing, swapping, destroying, emplacing, ...).
 *
 * The functor will be called by queue internals with one argument - \a storage - which is a pointer to storage with/for
 * element
 */

class QueueFunctor : public estd::TypeErasedFunctor<void(void*)>
{

};

}	// namespace synchronization

}	// namespace distortos

{'fraction_non_alphanumeric': 0.09715318572074108, 'fraction_numerical': 0.014460009037505649, 'mean_word_length': 4.1013824884792625, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '670060', 'n_tokens_mistral': 749, 'n_tokens_neox': 688, 'n_words': 228}