Top "Nested" questions

This tag relates to any of various nested entities or operations in programming.

Creating nested dataclass objects in Python

I have a dataclass object that has nested dataclass objects in it. However, when I create the main object, the …

python object serialization nested python-dataclasses
OpenMP: What is the benefit of nesting parallelizations?

From what I understand, #pragma omp parallel and its variations basically execute the following block in a number of concurrent …

c++ multithreading nested parallel-processing openmp
SPARQL using subquery with limit

I am developing a java application that uses ARQ to execute SPARQL queries using a Fuseki endpoint over TDB. The …

nested subquery limit sparql
A better way to use AutoMapper to flatten nested objects?

I have been flattening domain objects into DTOs as shown in the example below: public class Root { public string AParentProperty { …

c# nested automapper flatten
C++ Nested classes forward declaration error

I am trying to declare and use a class B inside of a class A and define B outside A. …

c++ class nested declaration forward
One liner nested hash creation in Ruby? (I come from Perl)

I am a Perl person and I have made Hashes like this for a while: my %date; #Assume the scalars …

ruby perl hash nested
flatten a data frame

I have this nested data frame test <- structure(list(id = c(13, 27), seq = structure(list( `1` = c("1997", "1997", "1997", "2007"), `2` = c("2007", "2007", "2007", "2007", "2007", "2007", "2007")), .Names = c("1", "2"))), .…

r nested dataframe flatten
how to make an expandable list of cardviews?

I searched a lot to find a direct and clear solution for I think a popular problem but unfortunately I …

android listview nested expandablelistview cardview
Check what element the cursor is on upon mouseleave() with jQuery?

I have a set of list elements (<li> within a <ul>) laid out as bubbles on …

javascript jquery nested mouseover mouseleave
"Invalid covariant return type" errors in nested classes with methods returning template-based objects

The following C++ code gives me these errors when compiled: covariant.cpp:32:22: error: invalid covariant return type for ‘virtual Q&…

c++ class templates nested covariant