search for: a_type

Displaying 3 results from an estimated 3 matches for "a_type".

Did you mean: d_type
2013 Oct 21
0
[LLVMdev] can an alias Value be created?
I'm in a situation where my code would be simpler if I could create a Value object without saying where it comes from. Sometime later I would attach an actual value to the object. llvm::Value * placeholder = builder.CreatePlaceholder( a_type ); ... placeholder->setSource( actual_value ); I could in theory use a PHINode, but it needs an actual IR instruction to be inserted. That's something I'm trying to avoid. -- edA-qa mort-ora-y -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Sign: Please digita...
2006 Feb 28
0
ActiveRecord: Legacy primary keys
Hi, I''m building a frontend for a legacy schema, with tables like this: CREATE TABLE `types` ( `a_type_cd` varchar(6) NOT NULL default '''', `a_type` varchar(30) NOT NULL default '''', PRIMARY KEY (`a_type_cd`) ); The primary key is specified by the user (not auto-generated), and needs to be updateable. I create the following a base class to support this, whic...
2006 Jan 16
3
Couter Cache for 2 Parents?
Hi, I''ve got a question about counter cache; here''s my setup: I have 3 model classes, A, B, and C. A has many C. B has many C. C belongs to both A and B. Now I''d like to keep counters of C in both A and B for performance reasons. According to the rails book, this doesn''t seem to be possible, as the counter feature requires changes to be made through the object