Sprout/sprout/algorithm/fit/results.hpp

40 lines
1.2 KiB
C++
Raw Normal View History

2013-08-08 09:54:33 +00:00
/*=============================================================================
2016-02-25 09:48:28 +00:00
Copyright (c) 2011-2016 Bolero MURAKAMI
2013-08-08 09:54:33 +00:00
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
=============================================================================*/
2014-05-29 16:22:00 +00:00
#ifndef SPROUT_ALGORITHM_FIT_RESULTS_HPP
#define SPROUT_ALGORITHM_FIT_RESULTS_HPP
2011-09-03 13:26:26 +00:00
#include <type_traits>
2011-09-03 13:26:26 +00:00
#include <sprout/config.hpp>
#include <sprout/container/traits.hpp>
#include <sprout/container/metafunctions.hpp>
#include <sprout/algorithm/fixed/results.hpp>
2013-08-08 09:54:33 +00:00
#include <sprout/sub_array/sub_array.hpp>
2011-09-03 13:26:26 +00:00
namespace sprout {
namespace fit {
namespace results {
2011-09-03 13:26:26 +00:00
//
// algorithm
//
template<typename Result>
struct algorithm {
public:
typedef sprout::sub_array<
typename std::decay<
typename sprout::containers::internal<
typename sprout::fixed::results::algorithm<Result>::type
>::type
>::type
2011-09-03 13:26:26 +00:00
> type;
};
} // namespace results
2011-09-03 13:26:26 +00:00
} // namespace fit
} // namespace sprout
2014-05-29 16:22:00 +00:00
#endif // #ifndef SPROUT_ALGORITHM_FIT_RESULTS_HPP