python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
boost::pfr with customized member
I'm trying to use boost::pfr for basic reflection, and it fails to compile when one of the member is customized type, like a class or struct, why is this? What's the way to fix it? I'm using C++17.
//...
fluter
Votes: 0
Answers: 2
Automatic generation of struct printing function in C
I have many programs where structs are defined. And each time, I have to create a function to print the members. For example,
typedef struct {
char name[128];
char address[1024];
int zip;
...

Stef1611
Votes: 0
Answers: 2
Create a method that returns a class and then access the variables
I have a class Fruits that consists of certain variables:
public class Fruits {
public static String abc="something";
}
public class Apple extends Fruits {
public static String abc=&quo...
SSMorgan
Votes: 0
Answers: 2
Get passed Annotation Parameters from Field Annotations
I have two annotations, this class one:
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Processor {
public String description() default "";
}
And also this...

Beigoma
Votes: 0
Answers: 1