Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101851656
ref_5.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Feb 14, 09:25
Size
238 B
Mime Type
text/x-c
Expires
Sun, Feb 16, 09:25 (1 d, 9 h)
Engine
blob
Format
Raw Data
Handle
24242211
Attached To
rDLMA Diffusion limited mixed aggregation
ref_5.cpp
View Options
#include "../Eigen/Core"
using namespace Eigen;
void call_ref(Ref<VectorXf> a) { }
int main()
{
VectorXf a(10);
DenseBase<VectorXf> &ac(a);
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
call_ref(ac);
#else
call_ref(ac.derived());
#endif
}
Event Timeline
Log In to Comment