Julia Programming Language
Initialising a Constructor with an Undef value
General Usage
JeffreySarnoff
March 5, 2022, 8:06am
2
how about this as your default nonevent
const NoCasualty = Casualty(0,(0,0,0.0),0,false)
2 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
What is the type of #undef
General Usage
9
2631
December 18, 2019
Using mutable struct constructor
General Usage
question
2
502
March 21, 2022
Undef consistency: x == undef vs isassigned(x)
General Usage
16
2541
August 22, 2018
Constructor with default values for mutables which allows undefined values
General Usage
5
954
April 19, 2019
Has `undef` lost its undefedness?
General Usage
4
1946
July 12, 2018