Pastes with struct tag

 

# Paste Title Author Source
1 #7dc6529e Struct which contains union - what to init? dejan
import std.stdio;

union ConstantData {
  long int64;
  ulong uint64;
}

struct Constant {
  Constan
2 #de0121e1 http://stackoverflow.com/questions/11383240/custom-alignment-options-for-an-efficient-quad-edge-implementation dejan
module so_0001;
// http://stackoverflow.com/questions/11383240/custom-alignment-options-for-an-effic
3 #f4fc6a92 Units nazriel
struct Weight
{
    size_t amount;
	alias amount this;
}

@property Weight grams(size_t amount)
{
  
4 #bdb3a9ed Finding a type of a struct-member dejan
import std.stdio;

struct Foo {
  int a;
  double b;
  immutable(char)[] c;
}

int main() {
  writel