September 09, 2010, 10:53:12 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: just::thread V1.4.1 for Windows and Linux Released
Home
Help
Search
Login
Register
just::thread Support Forum
>
General Category
>
General Discussion about just::thread
>
which header can I find std::ref in?
Pages: [
1
]
« previous
next »
Print
Author
Topic: which header can I find std::ref in? (Read 1688 times)
Kenneth Carter
Beta Testers
Newbie
Posts: 18
which header can I find std::ref in?
«
on:
November 24, 2008, 04:47:37 AM »
I am exploring the Mersenne twister algorithym implementing it is a parallel algorithym. I need to pass some pointers into the thread and I was wondering which header contains std::ref ?
Kenneth
Logged
Anthony Williams
Administrator
Newbie
Posts: 46
Re: which header can I find std::ref in?
«
Reply #1 on:
November 24, 2008, 08:52:03 AM »
std::ref
is in <functional>, and not supplied by just::thread. With VC9 SP1,
std::tr1::ref
is included as part of the TR1 package, which has the same functionality. Full support of
std::tr1::ref
is not provided for just::thread beta v0.4; that will be in beta v0.5
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion about just::thread
Loading...