$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [function] minor doc issues
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-11-20 10:43:51
AMDG
Thorsten Ottosen wrote:
> I can't compile
>
> std::vector<double> v = static_cast<std::vector<double>>(42);
>
> what am I overlooking?
I don't know. The following compiles for me
with msvc 9.0 and gcc 4.3.0
#include <vector>
int main() {
std::vector<double> v = static_cast<std::vector<double> >(42);
}
In Christ,
Steven Watanabe