$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] Type deduction
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2012-03-01 04:33:06
Is there anything in Boost to help with the type deduction of simple
arithmetic
expressions?
Essentially a C++03 version of
template <typename T, typename U> struct deduce { typedef decltype( T / U )
type; };
(I know that wasn't valid code, it's just for exposition)
Thx,
- Rob.